diff --git a/main/config_mqttDiscovery.h b/main/config_mqttDiscovery.h index b00d3b26f8..711af34ee4 100644 --- a/main/config_mqttDiscovery.h +++ b/main/config_mqttDiscovery.h @@ -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