1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-11-13 23:16:23 +00:00
home-assistant/scripts/toggle_pill.yaml
2016-11-29 17:15:25 +00:00

14 lines
241 B
YAML

sequence:
- service: mqtt.publish
data:
topic: dash/pill_reminder
payload: 'ON'
qos: 1
- delay:
seconds: 1
- service: mqtt.publish
data:
topic: dash/pill_reminder
payload: 'OFF'
qos: 1