Given I can use the dashboard to turn off lights that are set up on smart things. Which makes me believe that I can pass the command to smart things through the mqtt setup.
I am trying to create an automation to do it for me. However, no matter what I attempt I am unable to get the automation to fire.
LIGHT ----
- platform: mqtt
name: "Down Stairs"
state_topic: "smartthings/Down Stairs/switch"
command_topic: "smartthings/Down Stairs/switch"
brightness_state_topic: "smartthings/Down Stairs/level"
brightness_command_topic: "smartthings/Down Stairs/level"
payload_on: "on"
payload_off: "off"
retain: true
AUTOMATION—
trigger:
- platform: time
minutes: '/1'
action:
- service: light.turn_off
data:
entity_id:
- light.down_stairs