I tried to set up an automation that should start whenever the forecast temperature is under 15 degrees like so.
- condition: state
entity_id: weather.forecast_home
attribute: temperature
state: < 15
However, when I review the automation traces, I notice it fails. Apparently “< 15” isn’t recognized as a number?
Here the traces:
Executed: February 2, 2025 at 5:30:00 AM
Result:result: false
entity_id/0
Executed: February 2, 2025 at 5:30:00 AM
Result:result: false state: 6.5 wanted_state: < 15
I’d appreciate any guidance. I’m just starting with all this and I’m a bit at a loss here.