✨ 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:
|
bedtime:
|
||||||
alias: Bedtime
|
alias: Bedtime
|
||||||
|
mode: single
|
||||||
|
icon: mdi:bed
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
data: {}
|
data: {}
|
||||||
@ -20,5 +22,7 @@ bedtime:
|
|||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
entity_id: scene.bedroom_relax
|
entity_id: scene.bedroom_relax
|
||||||
mode: single
|
- service: switch.turn_on
|
||||||
icon: mdi:bed
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: switch.purifier_night_mode
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
goodnight:
|
goodnight:
|
||||||
alias: Goodnight
|
alias: Goodnight
|
||||||
|
mode: single
|
||||||
|
icon: mdi:sleep
|
||||||
sequence:
|
sequence:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data: {}
|
data: {}
|
||||||
@ -9,5 +11,3 @@ goodnight:
|
|||||||
- bedroom
|
- bedroom
|
||||||
- closet
|
- closet
|
||||||
- hallway
|
- 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