controlled by my own esp32 coding with MQTT messages
I defined messages for the commands “RF3C1” and also for the state “RF3S1”
of course I do not want to change my telegram in my coding for the esp32
When I do it my Mqtt Switch everything works perfect (like my “VasenLicht”, but now I want to change it to Mqtt Light (like my “LeseLicht”. Here I got some problems with the state.
My template does not work, but I cant find the cause… Also after insert the state_value_template my commands does not work any more.
thanks you…
I have tried your version… but unfortunately still no reaction.
there must be something else wrong, i cant even use the commands form the dashboard…
Thanks a lot. That works
I recently fall in love with home assistant… nice to know that also the community is very kind and willing to help
But about this issue:
Well (at least for me) it is pretty wired: Why should the statuses have the same messages as the commands…
From the point of view of the control system, it is doesn’t make any sense. It just causes confusions and causes ambiguity especially in combination with the MQTT protocol…
Of course with the help of topics and especially with the template there is a nice work around…