#Compare sensor value against input_number
1 messages · Page 1 of 1 (latest)
You can probably use a template trigger to do this.
Here's the template I would use:
{{ (states.sensor.fan_humidity.state | int) >= (states.input_number.test_number.state | int) + 2 }}
Where my sensor is sensor.fan_humidity, the input number is input_number.test_number and the offset is 2