diff --git a/scripts/50.iphone-scripts.yaml b/scripts/50.iphone-scripts.yaml index 96b6077..bacbcea 100644 --- a/scripts/50.iphone-scripts.yaml +++ b/scripts/50.iphone-scripts.yaml @@ -9,4 +9,22 @@ wake_up: woken_up: alias: '[Alarm clock] woken up' sequence: - - service: script.good_morning \ No newline at end of file + - 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