Hopefully it’s clear what I’m trying to do; if the kitchen humidity rises compared to the living room between 07:00 and 23:00 then start the fan.
My question is, without actually steaming up my kitchen, how do I test this?
I’ve tried setting sensor.humidity_kitchen to 99 in the developer tools but nothing happens, so is this because I’m testing it wrong or because my automation is faulty?
If it’s the latter then any suggestions from the veterans here would be very much appreciated.
Instead of triggering the automation every minute.
And just another small thing, since you seem like you are just starting this journey… You will save yourself a lot of frustrations if you already now begin to use a consistant naming scheme for stuff.
It does not matter what you chose, but at least from my own experience, things are much easier to work with if I use either the style “sensor.humidity_kitchen” OR the opposite “sensor.living_room_humidity” and don’t mix up the order of “room” and “sensor type” between them.
Olen, many thanks, that trigger looks a lot more sensible than what I was doing.
Good point re naming scheme, noted.
I’ll be honest, I’m finding the templating stuff a little confusing.
I did read the templating docs and I couldn’t find a working example of the type of comparison operation I’m trying to do.
I can see in your example that you’ve used
I snagged a bunch of Sonoff BasicZBR3 relays for peanuts on Gearbest so I’m going round making old, dumb devices a bit smarter starting with ventilation.