mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-13 00:15:47 +00:00
HA discovery energy_sensor from tuyaMCU (#864)
Handle EnergyTotal_kWh_div1000
This commit is contained in:
committed by
GitHub
parent
12cb936ecf
commit
23cbd2c7f1
@ -63,6 +63,8 @@ typedef enum {
|
||||
READONLYLOWMIDHIGH_SENSOR,
|
||||
// lx unit
|
||||
ILLUMINANCE_SENSOR,
|
||||
|
||||
ENERGY_SENSOR,
|
||||
} ENTITY_TYPE;
|
||||
|
||||
//unique_id is defined in hass_populate_unique_id and is based on CFG_GetDeviceName() whose size is CGF_DEVICE_NAME_SIZE.
|
||||
|
||||
Reference in New Issue
Block a user