mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-06 13:35:50 +00:00
Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App
This commit is contained in:
@ -574,7 +574,7 @@ HassDeviceInfo* hass_init_sensor_device_info(ENTITY_TYPE type, int channel, int
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (type != READONLYLOWMIDHIGH_SENSOR) {
|
||||
if (type != READONLYLOWMIDHIGH_SENSOR && type != ENERGY_SENSOR) {
|
||||
cJSON_AddStringToObject(info->root, "stat_cla", "measurement");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user