[Bedroom bed button] Change sleep button to sleep/wakeup
This commit is contained in:
parent
d64899439d
commit
81410a4348
@ -9,8 +9,8 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.bedroom_bed_lamp_toggle
|
- service: script.bedroom_bed_lamp_toggle
|
||||||
|
|
||||||
- id: bedroom-bed-sleep
|
- id: bedroom-bed-sleep-morning
|
||||||
alias: '[Bedroom] Bed Sleep'
|
alias: '[Bedroom] Bed Sleep/Morning'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -24,4 +24,17 @@
|
|||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
state: Away
|
state: Away
|
||||||
action:
|
action:
|
||||||
- service: script.good_night
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_select.home_mode
|
||||||
|
state: Day
|
||||||
|
sequence:
|
||||||
|
- service: script.good_night
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_select.home_mode
|
||||||
|
state: Night
|
||||||
|
sequence:
|
||||||
|
- service: script.good_morning
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user