The automation should cause the heating to switch on when the window contact is closed and the text “automatik_ein” is displayed in the helper status_warmepumpe:
alias: Fenster zu
description: ""
triggers:
- type: not_opened
device_id: c4261b568786d7816794ef85ed0cd124
entity_id: 4bf67f61128044d0ca662576f1eb75e6
domain: binary_sensor
trigger: device
conditions:
- condition: state
entity_id: input_text.status_warmepumpe
state: automatik_ein
actions:
- device_id: 379195b498396227318415e2d64fa15a
domain: climate
entity_id: 45911bacafcdc6f2465a9e1c5c5de4e8
type: set_hvac_mode
hvac_mode: heat
mode: single
When executing the automation manually, the thermostat is always set to heating, regardless of what is specified in the helper.
Is this due to the manual execution?
Best regards
Volker