I think you coded this plugin with the assumption that you can turn off the lights on the way out of an area without trigger motion.
And that's indeed the case if you have some sort of motion sensor overlooking the entire room.
However a lot of cases, the motion sensor is monitoring the entry way for entry and exit. Some sensors even are mounted on doors specifically. In those cases, you can't actually turn off the lights and exit the room because it will instantly retrigger it.
I think you coded this plugin with the assumption that you can turn off the lights on the way out of an area without trigger motion.
And that's indeed the case if you have some sort of motion sensor overlooking the entire room.
However a lot of cases, the motion sensor is monitoring the entry way for entry and exit. Some sensors even are mounted on doors specifically. In those cases, you can't actually turn off the lights and exit the room because it will instantly retrigger it.
Do you have a solution for this scenario? Thanks