Browse Source

ha: add color_temp_state_topic (#1891)

master
Thomas 5 years ago
committed by Max Prokhorov
parent
commit
24788474ad
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/homeassistant.ino

+ 1
- 0
code/espurna/homeassistant.ino View File

@ -164,6 +164,7 @@ void _haSendSwitch(unsigned char i, JsonObject& config) {
}
if (lightUseCCT()) {
config["color_temp_command_topic"] = mqttTopic(MQTT_TOPIC_MIRED, true);
config["color_temp_state_topic"] = mqttTopic(MQTT_TOPIC_MIRED, false);
}
if (lightChannels() > 3) {


Loading…
Cancel
Save