add wakeup script

This commit is contained in:
James Walker 2025-02-09 12:58:14 -05:00
parent 4f8a471834
commit 325559fe3d
Signed by: walkah
SSH Key Fingerprint: SHA256:f7Gn4jO4BFHZxWfKTTzEAfWz+cLW51IyGFl9MjDyZGI
4 changed files with 31 additions and 5 deletions

View File

@ -1 +1,14 @@
[]
- id: '1724553196564'
alias: Goodnight Action
description: ''
trigger:
- platform: event
event_data:
actionID: B4B3EB14-2508-40F7-883A-204C100B1F2A
event_type: ios.action_fired
condition: []
action:
- action: script.goodnight
metadata: {}
data: {}
mode: single

View File

@ -1,5 +1,7 @@
bedtime:
alias: Bedtime
mode: single
icon: mdi:bed
sequence:
- service: media_player.turn_off
data: {}
@ -20,5 +22,7 @@ bedtime:
data: {}
target:
entity_id: scene.bedroom_relax
mode: single
icon: mdi:bed
- service: switch.turn_on
data: {}
target:
entity_id: switch.purifier_night_mode

View File

@ -1,5 +1,7 @@
goodnight:
alias: Goodnight
mode: single
icon: mdi:sleep
sequence:
- service: light.turn_off
data: {}
@ -9,5 +11,3 @@ goodnight:
- bedroom
- closet
- hallway
mode: single
icon: mdi:sleep

9
scripts/wakeup.yaml Normal file
View File

@ -0,0 +1,9 @@
wakeup:
alias: Wake up
mode: single
icon: mdi:weather-sunset-up
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.purifier_night_mode