mirror of
https://github.com/GeorgeSG/sarah.git
synced 2025-12-28 20:30:29 +00:00
add good morning and good night scripts
This commit is contained in:
@@ -69,6 +69,18 @@ script:
|
||||
entity_id: input_select.bedroom_mode
|
||||
data_template:
|
||||
option: "{{ is_state('input_select.bedroom_mode', 'day') | iif('night', 'day') }}"
|
||||
mode_good_morning:
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: 'day'
|
||||
mode_good_night:
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: 'night'
|
||||
|
||||
automation:
|
||||
- alias: Bedroom mode · Change
|
||||
|
||||
Reference in New Issue
Block a user