1
0
ansible-home-assistant/automations/files/modes.yaml

25 lines
529 B
YAML
Raw Normal View History

2020-11-03 23:55:41 +00:00
- id: sleep_on
alias: Turn on sleep time
description: ''
trigger:
- platform: time
at: input_datetime.sleep_mode
condition: []
action:
- service: input_boolean.turn_on
data: {}
entity_id: input_boolean.sleep_mode
mode: single
- id: sleep_off
alias: Turn off sleep time
description: ''
trigger:
- platform: time
at: input_datetime.day_mode
condition: []
action:
- service: input_boolean.turn_off
data: {}
entity_id: input_boolean.sleep_mode
mode: single