[Update] Standheizung 2.0: Automatisches Enteisen & Smartphone-Feedback
Vollautomatisches Enteisen bei Frost und eine intelligente Bestätigung auf das Handy. Wichtig ist, den notify-Service entsprechend auf seine Bedürfnisse anzupassen.
1. Der Mehrwert des Updates
- Auto-Both-Defrost: Das System prüft beim Start den Froststatus. Ist dieser
on, wird automatisch das Presetboth_defrost(Front, Heck, Spiegel) aktiviert. Ihr müsst nichts mehr manuell wählen. - Dynamische Benachrichtigung: Ihr erhaltet eine Push-Nachricht auf euer Smartphone. Wenn es gefroren hat, enthält die Nachricht automatisch den Zusatz: "Inklusive Enteisung (Front/Heck)". So wisst ihr schon im Bett, dass ihr nicht kratzen müsst.
- Echtzeit-Temperatur: Die Heizung startet exakt mit der Gradzahl, die ihr zuletzt auf eurer Dashboard-Kachel eingestellt habt.
2. Das finale Skript (Toggle-Funktion)
Das Skript regelt das manuelle Umschalten und schickt eine Bestätigung inklusive Prioritäts-Push (High Priority) an euer Handy.
Code
alias: "Toyota: Heizung Start-Stopp Toggle" sequence:
if:
condition: state entity_id: climate.toyota_climate state: "off" then:
target: entity_id: climate.toyota_climate data: temperature: >- {{ state_attr('climate.toyota_climate', 'temperature') | float(default=22) }} action: climate.set_temperature
target: entity_id: climate.toyota_climate data: preset_mode: | {% if is_state('binary_sensor.toyota_froststatus', 'on') %} both_defrost {% else %} {{ state_attr('climate.toyota_climate', 'preset_mode') | default('none', true) }} {% endif %} action: climate.set_preset_mode
target: entity_id: climate.toyota_climate data: hvac_mode: heat_cool action: climate.set_hvac_mode
action: notify.mobile_app_moto_g56_5g data: title: Toyota Corolla message: > Die Standheizung wurde gestartet (Ziel: {{ state_attr('climate.toyota_climate', 'temperature') }}°C). {% if is_state('binary_sensor.toyota_froststatus', 'on') %} Inklusive Enteisung (Front/Heck). {% endif %} data: priority: high ttl: 0 else:
target: entity_id: climate.toyota_climate action: climate.turn_off
action: notify.mobile_app_moto_g56_5g data: title: Toyota Corolla message: Die Standheizung wurde ausgeschaltet.
Alles anzeigen
3. Die finale Automatisierung (Zeitplaner)
Der Zeitplaner sorgt dafür, dass die Automatik nach dem Ausführen sofort wieder deaktiviert wird (Einmal-Nutzung).
Code
alias: "Toyota: Standheizung Zeitplaner" description: Startet Klima zur Vorwahlzeit mit dynamischer Nachricht. triggers:
at: input_datetime.toyota_startzeit trigger: time conditions:
condition: state entity_id: input_boolean.toyota_automatik state: "on" actions:
if:
condition: or conditions:
condition: state entity_id: input_boolean.toyota_frost_only state: "off"
condition: state entity_id: binary_sensor.toyota_froststatus state: "on" then:
target: entity_id: climate.toyota_climate data: temperature: >- {{ state_attr('climate.toyota_climate', 'temperature') | float(default=22) }} action: climate.set_temperature
target: entity_id: climate.toyota_climate data: preset_mode: | {% if is_state('binary_sensor.toyota_froststatus', 'on') %} both_defrost {% else %} {{ state_attr('climate.toyota_climate', 'preset_mode') | default('none', true) }} {% endif %} action: climate.set_preset_mode
target: entity_id: climate.toyota_climate data: hvac_mode: heat_cool action: climate.set_hvac_mode
action: notify.mobile_app_moto_g56_5g data: title: Toyota Corolla message: > Die Standheizung wurde gestartet (Ziel: {{ state_attr('climate.toyota_climate', 'temperature') }}°C). {% if is_state('binary_sensor.toyota_froststatus', 'on') %} Inklusive Enteisung (Front/Heck). {% endif %} data: priority: high ttl: 0
target: entity_id: input_boolean.toyota_automatik action: input_boolean.turn_off mode: single
Alles anzeigen