illuminance channel type for Homa Assistant Discovery

This commit is contained in:
Tester23
2023-06-19 00:11:04 +02:00
parent 1dec740371
commit 1e8bb1f688
5 changed files with 38 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ typedef enum {
SMOKE_SENSOR,
/// @brief
READONLYLOWMIDHIGH_SENSOR,
// lx unit
ILLUMINANCE_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.