[DISC] Additional HA device classes (#1805)
Additional HA device classes and alphabetical sorting
This commit is contained in:
1 parent
28b97183be
commit
3c1bd83227
1 file changed
+14
-10
+14
-10
@@ -182,25 +182,29 @@ void announceDeviceTrigger(bool use_gateway_info,
|
||||
// From https://github.com/home-assistant/core/blob/d7ac4bd65379e11461c7ce0893d3533d8d8b8cbf/homeassistant/const.py#L225
|
||||
// List of classes available in Home Assistant
|
||||
const char* availableHASSClasses[] = {"battery",
|
||||
"carbon_monoxide",
|
||||
"carbon_dioxide",
|
||||
"carbon_monoxide",
|
||||
"current",
|
||||
"data_size",
|
||||
"distance",
|
||||
"door",
|
||||
"duration",
|
||||
"energy",
|
||||
"enum",
|
||||
"pm10",
|
||||
"pm25",
|
||||
"humidity",
|
||||
"illuminance",
|
||||
"pm10",
|
||||
"pm25",
|
||||
"power",
|
||||
"power_factor",
|
||||
"pressure",
|
||||
"problem",
|
||||
"signal_strength",
|
||||
"duration",
|
||||
"data_size",
|
||||
"temperature",
|
||||
"timestamp",
|
||||
"pressure",
|
||||
"power",
|
||||
"current",
|
||||
"energy",
|
||||
"power_factor",
|
||||
"voltage",
|
||||
"water",
|
||||
"weight",
|
||||
"window"};
|
||||
|
||||
// From https://github.com/home-assistant/core/blob/d7ac4bd65379e11461c7ce0893d3533d8d8b8cbf/homeassistant/const.py#L379
|
||||
|
||||
Reference in new issue
Block a user