I seem to be having a brain fart when it come to this and it's bugging the heck out of me.
In my bathroom, i have a fibaro dimmer controlling the lights (via wall switch) and a fibaro switch controlling the fan (there's also a ST motion sensor in there) and i'm having a bit of difficulty sorting a rule to do exactly what i want.
I thought it was all working fine, but last night i realised it isn't.
Basically between 05:30 and 20:00, i want the fan to go on & off with the light (via the wall switch) no motion controll during this time.
Between 20:00 and 05:30, i don't want the fan on at all. Even if the light is on and it rolls round to 20:00 i want the light to stay on (till switched off at the wall) and the fan to turn off.
Once my night mode kicks in (normally) around midnight till 05:30. I want the light to be on motion for 2 mins (per motion event) at a dim level of 5%.
Can any one point me in the right direction?