Hello!
I have a problem using a variable.
I have an automation that sets the variable as the first step with:
Variable:
feuchtigkeit: „{{states(‚sensor.feuchte‘)|float}}
I Never change this variable, it only gets set when the automation is called.
Then after some actions I call a wait for trigger with timeout with a check for this variable:
- trigger: template
value_template: >-
{{states(‚sensor.feuchte‘)|float <= feuchtigkeit | float - 3.0 }}
However I get errors in the log of HA telling me „feuchtigkeit“ is undefined for that trigger step.
Not sure why?
Shouldn’t be a scope issue right? Right??