The platform: flux_led works perfectly for controlling the light; however MQTT, while successfully sending messages, does not control the light. I may be looking at this wrong, but I’m still new.
Yes, I would like to control the same light (an RGB led strip with wifi controller) with MQTT and the frontend.
I’m trying to wrap my head around the documentation, which is confusing me because MQTT is considered a platform, like flux_led is?
Does your wifi controller support BOTH flux_led and mqtt? What model is it? Why do you want to use both? Sorry, I"m just trying to get my head around what you’re trying to do in order to help.
I don’t believe it natively supports MQTT, but I thought the way that I was setting it up would allow Home Assistant to listen to the MQTT topic and then control the LED controller. Maybe I’m thinking of it wrong. Does setting up MQTT as a platform mean that the device needs to work natively with MQTT?
Yes, the MQTT platform would be a light which is controlled via MQTT. What you’re looking for is probably an automation which would trigger on turning the light on or off.
Gotcha.
I’ve found an example that used MQTT, and am trying to modify it.
The issue I think I’ll have is that this action will only turn the light on, correct?
Do you know how I would go about controlling the light, other than using light.toggle OR using two alias’; one for ON and one for OFF?
Also, why do these show up as sliders in the frontend if it is just a single command, ‘ON’?