diff --git a/blueprint.yaml b/blueprint.yaml index 4ea42db..488c823 100644 --- a/blueprint.yaml +++ b/blueprint.yaml @@ -1,6 +1,6 @@ blueprint: name: Better Thermostat Multi-Mode Controller - description: Steuert Better Thermostat mit Sommer/Winter (Wetterbasiert), Schedule, Anwesenheit (optional) und Urlaubs-Button + description: Steuert Better Thermostat mit Sommer/Winter (Wetterbasiert), Schedule und Urlaubs-Button domain: automation input: better_thermostat_entity: @@ -33,8 +33,8 @@ blueprint: default: 25 selector: number: - min: 17 - max: 50 + min: 20 + max: 35 step: 1 winter_temp_threshold: name: Winter-Schwellwert (°C) @@ -57,7 +57,7 @@ blueprint: comfort_temp: name: Komfort Temperatur (°C) description: Temperatur wenn Schedule aktiv - default: 20 + default: 21 selector: number: min: 18 @@ -89,10 +89,9 @@ action: - 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) }}" + is_summer: "{{ (weather_temp | float(15)) > (summer_threshold | float(25)) }}" + is_winter: "{{ (weather_temp | float(15)) < (winter_threshold | float(10)) }}" is_vacation: "{{ states(vacation_entity) == 'on' }}" - is_present: true schedule_active: "{{ states(schedule_entity) == 'on' }}" - choose: