Wasp in a Box helper integration

This is my own take on the wasp in a box automation pattern for enclosed rooms (such as bathrooms) that helps determine reliable occupancy while a person remains inside, even if out of range of the motion sensor or being still.

As well as covering the traditional pattern it also copes with doors being left open and quick exits.

It requires both a motion/presence and door sensor to work.

I’ve created it as a helper integration so there’s no need to create additional input helpers to store state, it just exposes a single boolean occupancy sensor to know when the room is occupied or not.

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

GitHub repo link

2 Likes