Skip to content

Instantly share code, notes, and snippets.

View FrankTub's full-sized avatar

Frank Tubbing FrankTub

View GitHub Profile
blueprint:
name: "Cover Control Automation (CCA) - Beta"
description: |
# ⭐ Cover Control Automation (CCA) ⭐
Cover Control Automation is a comprehensive Home Assistant blueprint which automatically manages your window coverings (such as roller shutters and blinds) based on time, the position of the sun, and weather conditions. It adapts intelligently to your preferences, largely eliminating the need for manual adjustments.
**Version**: 2025.12.03
### 🔗 Resources & Support
@FrankTub
FrankTub / binary_sensor_to_input_boolean.yaml
Last active August 29, 2025 04:23
Binary sensor to input boolean
blueprint:
name: Binary sensor → input_boolean with day/night rules
description: >
Toggle an input_boolean on/off based on a binary sensor with separate day/night delays
and cutoff times.
domain: automation
input:
required_inputs:
name: "Required inputs"
@FrankTub
FrankTub / development_occupancy.yaml
Last active September 10, 2025 11:10
Development occupancy
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.
Original credits go to [Alex Babel](https://community.home-assistant.io/u/alexbabel/summary).
Given that you already use a door and motion sensor this blueprint allows some additional configuration for scenario's where you want to deviate from the wasp in a box principle.
- (Optional) Clear occupancy on closing the door after a delay period
@FrankTub
FrankTub / occupancy.yaml
Last active October 2, 2025 03:22
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.
Original credits go to [Alex Babel](https://community.home-assistant.io/u/alexbabel/summary).
Given that you already use a door and motion sensor this blueprint allows some additional configuration for scenario's where you want to deviate from the wasp in a box principle.
- (Optional) Clear occupancy on closing the door after a delay period