mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
HA integration - add devices as HA devices - HomeAssistant Discovery #288
This commit is contained in:
@@ -29,7 +29,7 @@ void Shower::start() {
|
||||
});
|
||||
|
||||
if (Mqtt::mqtt_format() == Mqtt::Format::HA) {
|
||||
Mqtt::register_mqtt_ha_binary_sensor(F("Shower Active"), "shower_active");
|
||||
Mqtt::register_mqtt_ha_binary_sensor(F("Shower Active"), EMSdevice::DeviceType::BOILER, "shower_active");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user