How can I use the value of a helper to check if an entity is above this value?
Something like this doesn’t work.
condition: numeric_state
entity_id: input_number.test
value_template: 'above: states("input_number.test2")|float '
How can I use the value of a helper to check if an entity is above this value?
Something like this doesn’t work.
condition: numeric_state
entity_id: input_number.test
value_template: 'above: states("input_number.test2")|float '
Like the example in the docs:
condition:
condition: numeric_state
entity_id: climate.living_room_thermostat
attribute: temperature
above: input_number.temperature_threshold_low
below: input_number.temperature_threshold_high
https://www.home-assistant.io/docs/scripts/conditions/#numeric-state-condition