okay, jetzt hast du eine Automation: wenn jemand zu hause
Was, wenn keiner zu hause?
Ich würde dann auf die schnelle eher die presence mit in die ersten beiden WENNs nehmen und noch ein 3. WENN anlegen für non-prensence
description:
trigger:
- platform: state
entity_id:
- sensor.temperatur_buro_temperatur
- platform: time_pattern
minutes: /10
condition:
- condition: numeric_state
entity_id: sensor.ipapen67_temperature
below: 15
action:
- if:
- condition: numeric_state
entity_id: sensor.temperatur_buro_temperatur
below: 19
- condition: state
entity_id: input_boolean.jemand_ist_zuhause
state: "on"
then:
- service: climate.set_temperature
data:
temperature: 30
target:
entity_id: climate.heizung_buro_thermostat
- if:
- condition: numeric_state
entity_id: sensor.temperatur_buro_temperatur
above: 20.7
- condition: state
entity_id: input_boolean.jemand_ist_zuhause
state: "on"
then:
- service: climate.set_temperature
data:
temperature: 21
target:
entity_id: climate.heizung_buro_thermostat
- if:
- condition: state
entity_id: input_boolean.jemand_ist_zuhause
state: "off"
then:
- service: climate.set_temperature
data:
temperature: 19
target:
entity_id: climate.heizung_buro_thermostat
mode: single
Fenster auf/zu brauchst du doch nichts anpassen.