blueprint.yaml aktualisiert
This commit is contained in:
parent
4dbc628be1
commit
4fbf1d0e9e
1 changed files with 4 additions and 4 deletions
|
|
@ -87,13 +87,13 @@ action:
|
|||
comfort_temperature: !input comfort_temp
|
||||
|
||||
- variables:
|
||||
forecast: "{{ state_attr(weather_entity, 'forecast') }}"
|
||||
weather_temp: "{{ forecast[0].temperature if forecast and forecast|length > 0 else 15 }}"
|
||||
is_summer: "{{ (weather_temp | float(15)) > (summer_threshold | float(25)) }}"
|
||||
is_winter: "{{ (weather_temp | float(15)) < (winter_threshold | float(10)) }}"
|
||||
weather_temp: '{{ state_attr(weather_entity, ''temperature'') | float(15) }}'
|
||||
is_summer: "{{ weather_temp > summer_threshold }}"
|
||||
is_winter: "{{ weather_temp < winter_threshold }}"
|
||||
is_vacation: "{{ states(vacation_entity) == 'on' }}"
|
||||
schedule_active: "{{ states(schedule_entity) == 'on' }}"
|
||||
|
||||
|
||||
- choose:
|
||||
# Priorität 1: Sommer-Modus (Heizung aus)
|
||||
- conditions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue