@Horus wrote:
Hello,
I have a MQTT switch which publishes this message when switched:
{"tst":1574800657,"topic":"stat/janus2/POWER","qos":0,"retain":0,"payloadlen":2,"payload":ON}
and I can use
mosquitto_pub -t cmnd/janus2/POWER -m ON
to power if on or off. The basic MQTT integration in HA works, another device uses auto configuration and works fine.I try to configure the switch:
switch: - platform: mqtt name: "Janus 2" state_topic: "stat/janus2/POWER" command_topic: "cmnd/janus2/POWER"
however, no such device or entity shows up in HA. The output at startup shows no error messages.
What am I missing here?
Thanks!
Posts: 1
Participants: 1