I’m trying to toggle a bool when a sensors temperature goes below an Input_number. My issue is that when the temperature changes, this is not triggered.
Here is my code:
alias: Temp Too Low Automation
description: ""
trigger:
- platform: template
value_template: >-
{{ states('sensor.thermo_temperature')|float <
states('input_number.temperature_low_target') | int }}
condition: []
action:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.temp_too_low
mode: single