This is a simple automation to turn on a fan (sonoff switch) when temperature in a cold room goes below 35F. I get no error in the configurator but when I check configuration I get an error saying ‘below’ not allowed in automation. The documentation specifically mentions ‘above’ and ‘below’. Am I using it wrong or what should I use instead? Here’s the code.
- alias: Cold Room Fan
description: turn on cold room fan when temperature drops below 35
trigger:
- entity_id: sensor.lumi_lumi_weather_6ee07d04_temperature
platform: state
below: 35
action:
- entity_id: switch.sonoff_1000db40db
service: switch.turn_on
for: 60