fix potential RSSI name collision

This commit is contained in:
Tester23
2023-10-25 16:01:18 +02:00
parent 3e5cb27be7
commit 1308a8f5b5
2 changed files with 8 additions and 1 deletions

View File

@ -63,10 +63,11 @@ typedef enum {
READONLYLOWMIDHIGH_SENSOR,
// lx unit
ILLUMINANCE_SENSOR,
// dBm unit
HASS_RSSI,
ENERGY_SENSOR,
HASS_RSSI,
} ENTITY_TYPE;
//unique_id is defined in hass_populate_unique_id and is based on CFG_GetDeviceName() whose size is CGF_DEVICE_NAME_SIZE.