home-assistant-configuration/switches/upstairs.yaml

7 lines
194 B
YAML
Executable File

- platform: mqtt
name: "Upstairs Fan"
state_topic: "smartthings/Upstairs Fan/switch"
command_topic: "smartthings/Upstairs Fan/switch"
payload_on: "on"
payload_off: "off"
retain: true