1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-12-20 12:54:35 +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