mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-08 10:38:44 +00:00
Rename house mode to bedroom mode
This commit is contained in:
@@ -37,11 +37,11 @@ automation:
|
||||
data_template:
|
||||
entity_id: light.master_bedroom
|
||||
brightness_pct: >-
|
||||
{% if not is_state('input_select.house_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
{% if not is_state('input_select.bedroom_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
- service: script.bed_led_on
|
||||
data_template:
|
||||
brightness_pct: >-
|
||||
{% if not is_state('input_select.house_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
{% if not is_state('input_select.bedroom_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
|
||||
button_1_double:
|
||||
- service: light.turn_off
|
||||
@@ -53,7 +53,7 @@ automation:
|
||||
entity_id: light.master_bedroom_main
|
||||
brightness_pct: >-
|
||||
|
||||
{% if not is_state('input_select.house_mode', 'day') %}
|
||||
{% if not is_state('input_select.bedroom_mode', 'day') %}
|
||||
40
|
||||
{% else %}
|
||||
100
|
||||
@@ -72,7 +72,7 @@ automation:
|
||||
- light.bedside
|
||||
brightness_pct: >-
|
||||
|
||||
{% if not is_state('input_select.house_mode', 'day') %}
|
||||
{% if not is_state('input_select.bedroom_mode', 'day') %}
|
||||
40
|
||||
{% else %}
|
||||
100
|
||||
|
||||
@@ -24,19 +24,19 @@ automation:
|
||||
- service: script.bed_led_toggle
|
||||
data_template:
|
||||
brightness_pct: >-
|
||||
{% if is_state('input_select.house_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
{% if is_state('input_select.bedroom_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
|
||||
- service: light.toggle
|
||||
data_template:
|
||||
entity_id: >-
|
||||
|
||||
{% if is_state('input_select.house_mode', 'day') %}
|
||||
{% if is_state('input_select.bedroom_mode', 'day') %}
|
||||
light.master_bedroom_main
|
||||
{% elif is_state('input_select.house_mode', 'bed') %}
|
||||
{% elif is_state('input_select.bedroom_mode', 'bed') %}
|
||||
light.bedside
|
||||
{% endif %}
|
||||
brightness_pct: >-
|
||||
{% if is_state('input_select.house_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
{% if is_state('input_select.bedroom_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
|
||||
double_click:
|
||||
- service: light.toggle
|
||||
@@ -46,8 +46,8 @@ automation:
|
||||
- service: script.bed_led_toggle
|
||||
data_template:
|
||||
brightness_pct: >-
|
||||
{% if is_state('input_select.house_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
{% if is_state('input_select.bedroom_mode', 'night') %} 40 {% else %} 100 {% endif %}
|
||||
|
||||
hold:
|
||||
- service: input_select.select_next
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
|
||||
Reference in New Issue
Block a user