Hello,
as the title says, I have a blueprint using a numeric_state condition. It should be checked, if the current temperature of my climate (!input ‘entity’ with attribute temperature) is higher than the eco temperature (= !input ‘temperature_eco’, which is the value of the variable temperature_eco).
If I use a constant (16), the automation works fine, but unfortunately, not all climates have the same eco temperature and this is, why I want to use the placeholder.
In the sequence, setting the climate temperature to ‘{{ states(temperature_eco) | float}}’ works well.
What is going wrong here?
blueprint:
name: Heizung
description: Temperatur der Heizung wird neu gesetzt
domain: automation
input:
trigger:
name: Auslöser
description: Trigger-Entität (input_boolean.climate_work_start_check)
selector:
entity:
domain: input_boolean
entity:
name: Heizung
description: climate.arbeitszimmer
selector:
entity:
domain: climate
temperature_eco:
name: Spartemperatur
description: input_number.climate_work_eco
selector:
entity:
domain: input_number
variables:
temperature_eco: !input 'temperature_eco'
trigger:
- platform: state
entity_id: !input trigger
to: 'on'
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: !input 'entity'
attribute: temperature
#Placeholder not working
#above: '{{ states(temperature_eco) | float}}'
above: 16
- condition: state
entity_id: binary_sensor.zu_hause
state: 'off'
- condition: state
entity_id: input_boolean.vacation
state: 'off'
sequence:
- service: climate.set_temperature
target:
entity_id: !input 'entity'
data:
temperature: '{{ states(temperature_eco) | float}}'
mode: restart
max_exceeded: silent