Hello,
I’m trying to set up a light that uses MQTT to control the brightness and color temperature, and I’m almost got everything working. All the messages/topics are going through, but I can’t seem to get the UI to give me a slider or any other control for the color temperature. Here’s my configuration:
light:
- platform: mqtt
name: "dummy light 1"
state_topic: "dummy1/state"
command_topic: "dummy1/set"
brightness_state_topic: "dummy1/brightness/state"
brightness_command_topic: "dummy1/brightness/set"
brightness_scale: 100
color_temp_state_topic: "dummy1/color_temp/state"
color_temp_command_topic: "dummy1/color_temp/set"
And here’s what the dashboard gives me for control:
You can see that the brightness slider is there and the on/off switch, but that’s it. I’ve seen pictures of color temperature sliders that other people have managed, and I’m not sure how to make it appear for me. I would have thought that if the brightness topics being defined resulted in the brightness slider, color temp would be the same.
The device is a custom thing I’m building using an ESP32, so there won’t be any pre-made anything for it, and I’ll need to figure out how to configure it manually (eventually through an autodiscovery message, but I think that’s equivalent to this dummy entry in configuration.yaml… right?).