1
0

Add scripts for enabling and disabling iPhone charging

This commit is contained in:
Przemek Grondek 2022-04-27 23:13:02 +02:00
parent 9ecb9decee
commit 351307de86

View File

@ -9,4 +9,22 @@ wake_up:
woken_up: woken_up:
alias: '[Alarm clock] woken up' alias: '[Alarm clock] woken up'
sequence: sequence:
- service: script.good_morning - 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