1
0
ansible-home-assistant/roles/scripts/files/50.iphone-scripts.yaml

31 lines
665 B
YAML

wake_up:
alias: '[Alarm clock] waking up'
sequence:
- service: cover.set_cover_position
target:
entity_id: cover.bedroom_blinds
data:
position: 10
woken_up:
alias: '[Alarm clock] woken up'
sequence:
- service: script.good_morning
ios_disable_charging:
alias: '[iOS] Disable charging'
sequence:
- service: switch.turn_off
target:
entity_id:
- switch.usb_switch_1
- switch.usb_switch_2
ios_enable_charging:
alias: '[iOS] Enable charging'
sequence:
- service: switch.turn_on
target:
entity_id:
- switch.usb_switch_1
- switch.usb_switch_2