1
0
Fork 0

Tune temperatures

This commit is contained in:
Malte Brandy 2021-12-12 00:51:32 +01:00
parent 7be104a748
commit fbadd73595

View file

@ -173,7 +173,7 @@ in
{% if is_state('input_select.scene_kueche', 'empty') %} {% if is_state('input_select.scene_kueche', 'empty') %}
19 19
{% else %} {% else %}
22 21
{% endif %} {% endif %}
''; '';
}]; }];
@ -188,7 +188,7 @@ in
{% if is_state('input_select.scene_wohnzimmer', 'empty') %} {% if is_state('input_select.scene_wohnzimmer', 'empty') %}
19 19
{% else %} {% else %}
25 24
{% endif %} {% endif %}
''; '';
}]; }];
@ -203,37 +203,43 @@ in
{% if is_state('input_select.scene_schlafzimmer', 'empty') %} {% if is_state('input_select.scene_schlafzimmer', 'empty') %}
19 19
{% else %} {% else %}
22 21
{% endif %} {% endif %}
''; '';
}]; }];
} }
#{ {
#alias = "Wohnzimmerlichter"; alias = "Wohnzimmerlichter";
#trigger = [{ platform = "state"; entity_id = "input_select.scene_wohnzimmer"; } { platform = "state"; entity_id = "sun.sun"; }]; trigger = [{ platform = "state"; entity_id = "input_select.scene_wohnzimmer"; } { platform = "state"; entity_id = "sun.sun"; }];
#action = [{ action = [{
#service = '' service = ''
#{% if is_state('input_select.scene_wohnzimmer', 'empty') or is_state('sun.sun', 'above_horizon') %} {% if is_state('input_select.scene_wohnzimmer', 'active') and is_state('sun.sun', 'below_horizon') %}
#homeassistant.turn_off homeassistant.turn_on
#{% else %} {% else %}
#homeassistant.turn_on homeassistant.turn_off
#{% endif %}''; {% endif %}'';
#target.entity_id = "group.wohnzimmer_lights"; target.entity_id = "group.wohnzimmer_lights";
#}]; }];
#} }
#{ {
#alias = "Schlafzimmerlichter"; alias = "Schlafzimmerlichter";
#trigger = [{ platform = "state"; entity_id = "input_select.scene_schlafzimmer"; } { platform = "state"; entity_id = "sun.sun"; }]; trigger = [{ platform = "state"; entity_id = "input_select.scene_schlafzimmer"; } { platform = "state"; entity_id = "sun.sun"; }];
#action = [{ action = [{
#service = '' service = ''
#{% if is_state('input_select.scene_schlafzimmer', 'empty') or is_state('input_select.scene_schlafzimmer', 'sleep') or is_state('sun.sun', 'above_horizon') %} {% if is_state('input_select.scene_schlafzimmer', 'active') and is_state('sun.sun', 'below_horizon') %}
#homeassistant.turn_off homeassistant.turn_on
#{% else %} {% else %}
#homeassistant.turn_on homeassistant.turn_off
#{% endif %}''; {% endif %}'';
#target.entity_id = "group.schlafzimmer_lights"; target.entity_id = "group.schlafzimmer_lights";
#}]; }];
#} }
{
alias = "Schlafzimmer vorheizen";
trigger = [{ platform = "time"; at = "21:00:00"; }];
condition = [{ condition = "state"; entity_id = "input_select.scene_schlafzimmer"; state = "empty"; }];
action = [{ service = "input_select.set_value"; data.value = "heat"; entity_id = "input_select.scene_schlafzimmer"; }];
}
# Warnung für offene Fenster oder Türen # Warnung für offene Fenster oder Türen
# Warnungen für niedrige Akkustände # Warnungen für niedrige Akkustände
# Warnungen für hohe Luftfeuchtigkeit # Warnungen für hohe Luftfeuchtigkeit
@ -272,15 +278,15 @@ in
input_select = { input_select = {
scene_schlafzimmer = { scene_schlafzimmer = {
name = "Szene Schlafzimmer"; name = "Szene Schlafzimmer";
options = [ "empty" "cozy" ]; options = [ "empty" "heat" "active" ];
}; };
scene_wohnzimmer = { scene_wohnzimmer = {
name = "Szene Wohnzimmer"; name = "Szene Wohnzimmer";
options = [ "empty" "cozy" ]; options = [ "empty" "heat" "active" ];
}; };
scene_kueche = { scene_kueche = {
name = "Szene Kueche"; name = "Szene Kueche";
options = [ "empty" "cozy" ]; options = [ "empty" "heat" "active" ];
}; };
}; };
system_health = { }; system_health = { };