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
@@ -27,7 +27,7 @@ automation:
entity_id: light.living_room_main
brightness_pct: >-
{% if is_state('input_select.bedroom_mode', 'night') %}
{% if is_state('sensor.house_mode', 'night') %}
40
{% else %}
100
@@ -39,7 +39,7 @@ automation:
entity_id: light.living_room_ambient
brightness_pct: >-
{% if is_state('input_select.bedroom_mode', 'night') %}
{% if is_state('sensor.house_mode', 'night') %}
40
{% else %}
100
+1 -1
View File
@@ -98,7 +98,7 @@ automation:
to: "off"
condition:
condition: state
entity_id: input_select.bedroom_mode
entity_id: sensor.house_mode
state: "day"
action:
- service: script.sonos_join_bedroom