Hi All,
I have a question regarding an automation of which I haven’t been able to find something similar so I figured I’d start a new topic.
First off let me explain my setup:
- hall way, with IKEA motion sensor
- bathroom with ZBMINI-L2
- bathroomdoor IKEA parasoll
I’ve been trying to create an automation that switches the zbmini on when someone is inside and off when leaving but I’m struggling with the conditions.
Enter: door open, turn light on:
if ZBMINI-L2 is off and door is open, switch ZBMINI-L2 on
Leave: if ZBMINI-L2 is on and the door is opened, switch ZBMINI-L2 off
These seem to contradict eachother because when I open the door when inside with the light on and close it, the light turns off, and then back on again.
Probably because the Enter automation kicks in.
Is there a way to do this without an additional motion sensor in the bathroom?
Edit: I’ve been looking at the Occupancy blueprint which looks very useful but it requires an additional motion sensor. If it turns out that’s the only way to do this correctly then that’s ok but I was hoping to solve this with just the sensors I have.