✨ add wakeup script
This commit is contained in:
parent
4f8a471834
commit
325559fe3d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
9
scripts/wakeup.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user