Add preferences support

This commit is contained in:
2021-11-21 11:05:04 +02:00
parent b606168f08
commit 823cf4a680
11 changed files with 112 additions and 9 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ sensor:
day
{% endif %}
{% else %}
{% if is_state('input_select.bedroom_mode', 'night') and is_state('input_select.guest_bedroom_mode', 'night') %}
{% if (is_state('input_select.bedroom_mode', 'night') or is_state('input_select.bedroom_mode', 'bed'))
and is_state('input_select.guest_bedroom_mode', 'night') %}
night
{% else %}
day