I am trying to automate my bathroom light depeding on a few conditions.
I have a motion sensor, a humidity sensor and a smart bulb.
I want to;
Trigger the bathroom light on, on motion dectection after dark
Turn the light off after no motion for 5 min
Turn or keep the light on when bathroom humidity rises above 80% for a addtional 15 min at any time of day
Turn the light off when humidity falls below 65%
I have had the light on an automation with just the motion sensor and that was easy. Now I want to add in the humidity conditions I am really struggling.