From 24788474ad4d3f079899a3d307d5f0af7c8cbd35 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 4 Sep 2019 01:22:26 +0200 Subject: [PATCH] ha: add color_temp_state_topic (#1891) --- code/espurna/homeassistant.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/homeassistant.ino b/code/espurna/homeassistant.ino index bdcf5249..6a56f0fa 100644 --- a/code/espurna/homeassistant.ino +++ b/code/espurna/homeassistant.ino @@ -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) {