Skip to content

Commit

Permalink
[DISC] Additional HA device classes
Browse files Browse the repository at this point in the history
Additional HA device classes and alphabetical sorting
  • Loading branch information
DigiH committed Nov 15, 2023
1 parent 28b9718 commit 468c87c
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions main/config_mqttDiscovery.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,23 +184,27 @@ void announceDeviceTrigger(bool use_gateway_info,
const char* availableHASSClasses[] = {"battery",
"carbon_monoxide",
"carbon_dioxide",
"current",
"data_size",
"distance",
"duration",
"door",
"energy",
"enum",
"pm10",
"pm25",
"humidity",
"illuminance",
"pm10",
"pm25",
"power",
"pressure",
"problem",
"power_factor",
"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
Expand Down

0 comments on commit 468c87c

Please sign in to comment.