Skip to content

Instantly share code, notes, and snippets.

View FrankTub's full-sized avatar

Frank Tubbing FrankTub

View GitHub Profile
@FrankTub
FrankTub / occupancy.yaml
Last active May 17, 2025 18:29
Wasp principle for HA
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/FrankTub/ba9af2b147a8b6795d9b93299a82aab1
input:
door_sensor:
name: Single Door Sensor or Door Sensor Group