Good day. I use majordomo system and in it to display the status of the switch is used MQTT topic which can be 0 or 1. I changed it in the code. When you toogle the switch system sends 0 or 1 in topic which use for status. But when I try to use the same topic for commands and status it doesn't work. I would like to ask if there is way to manage sonoff same MQTT topic which is published status.
Thank you.