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

@ -10,3 +10,21 @@ 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