I have a dumb fan in my bathroom which i have connected to an Envilar ZigBee dimmer. That means it’s connected to my Hue setup. It shows up as a light though. I also have Tado thermostats in the entire house. What i am trying to achieve is that when the Thermostat in the bathroom registers humidity above 56%, then start the fan. And when below 52%, stop it again.
I can’t get it to fire. The stop part works, but it never starts automatically.
I’d suggest to read carefully docs on numeric state trigger and check out the examples.
The thing is your above and below are strings - try to remove quotes.
The main thing, however, is what you do in action - is it how it works for zigbee? no service calls?
If you trigger your on automation, does it work at all?
I used the UI to fill in the stuff, I didn’t add the quotes, the system did. And I am thinking that since the part to turn it off works, it ought to work on the on part as well. Without service calls. But it doesn’t.
It’s easy to check. Just don’t forget trigger can potentially be an issue as well.
Next step is to trigger your automation with conditions - go to Developer tools → Services, select Services, choose automation.trigger and fill in entity_id and add skip_condition: false
For simplicity I’d suggest to replace your conditions with a less complex one i.e without weekday (and then gradually build it up when the whole automation works as intended).
When you get it to work, you’ll need to make sure it is triggered by HA (will discuss it later).