Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Occupancy
description: |
This blueprint implements the 'Wasp in a Box' principle, a method for detecting room occupancy based on motion and door sensors. It was inspired by an AppDaemon app with a similar approach.
You can find more information about this blueprint on the Home Assistant Community: https://community.home-assistant.io/t/occupancy-blueprint/477772
domain: automation
source_url: https://gist.github.com/AlexanderBabel/487f054b289b61f90afdc837d23cb85e
input:
door_sensor:
name: Single Door Sensor or Door Sensor Group