Include Guest Bedroom in house mode

This commit is contained in:
2021-10-18 23:28:42 +03:00
parent af5e969c2b
commit c4e977b345
25 changed files with 241 additions and 119 deletions
@@ -35,11 +35,8 @@ automation:
button_2_single:
- service: light.turn_on
data_template:
entity_id: light.master_bedroom
brightness_pct: >-
{% if not is_state('input_select.bedroom_mode', 'day') %} 40 {% else %} 100 {% endif %}
- service: script.bed_led_on
data_template:
entity_id:
- light.master_bedroom
brightness_pct: >-
{% if not is_state('input_select.bedroom_mode', 'day') %} 40 {% else %} 100 {% endif %}
@@ -70,6 +67,7 @@ automation:
data_template:
entity_id:
- light.bedside
- light.bed_led
brightness_pct: >-
{% if not is_state('input_select.bedroom_mode', 'day') %}
@@ -77,7 +75,6 @@ automation:
{% else %}
100
{% endif %}
- service: script.bed_led_on
button_3_single:
- service: media_player.media_play_pause