I have a bunch of mqtt based lights at my placee. These are working fine, but if they are turned off by the light.turn_off while already off, thy are turnd on. Even the history says “eingeschaltet ausgelöst durch Aktion Leuchte: Ausschalten” (german, translates to: turnd on due to action light: turn off).
Since I observed this issue for abbot a year now, I dont think this is a bug. I guess there might be somthing wrong with my light definition:
Toggle only works correctly if the sensor knows in which state it is.
So the state_topic need to be he correct path: MQTT Light and the correct message.
So using MQTT Explorer for example, what is the message you get at: "a18/OG/Z3/Licht"?
Hi,
state in general works, since HA recognizes external state changes of the lights, but I will check the exact replies. I will need to install mqtt explorer. Tomorrow.