Hello everyone,
i have a Hassbian 0.74 and in configuration.yaml added two switches, but in the home assistant just appear and work well the 1st switch, i already tried change the identation of several ways, but none of them worked.
anyone ave idea how i can solve this?
switch:
-
platform: mqtt
mqtt name: “sonoff_escritorio_interior”
state_topic: “stat/sonoff_escritorio/POWER1”
command_topic: “cmnd/sonoff_escritorio/power1”
qos: 0
payload_on: “ON”
payload_off: “OFF”
retain: true -
platform: mqtt
mqtt name: “sonoff_escritorio_exterior”
state_topic: “stat/sonoff_escritorio/POWER2”
command_topic: “cmnd/sonoff_escritorio/power2”
qos: 0
payload_on: “ON”
payload_off: “OFF”
retain: true