Add scripts for enabling and disabling iPhone charging
This commit is contained in:
parent
9ecb9decee
commit
351307de86
@ -10,3 +10,21 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user