mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +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
|
entity_id: input_select.bedroom_mode
|
||||||
data_template:
|
data_template:
|
||||||
option: "{{ is_state('input_select.bedroom_mode', 'day') | iif('night', 'day') }}"
|
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:
|
automation:
|
||||||
- alias: Bedroom mode · Change
|
- alias: Bedroom mode · Change
|
||||||
|
|||||||
Reference in New Issue
Block a user