Skip to content

Instantly share code, notes, and snippets.

View Twanne's full-sized avatar

AntonH Twanne

View GitHub Profile
@Twanne
Twanne / party_lights.yaml
Last active November 9, 2025 22:05
Home Assistant Blueprint: Party Lights
blueprint:
name: Party Lights
author: AntonH
homeassistant:
min_version: "2024.10.0"
description: |
**Version 3.2**
Lights go to party mode (color loops or fade-in-and-out)
@Twanne
Twanne / party_lights_BETA.yaml
Last active June 24, 2025 12:47
Home Assistant Blueprint: Party Lights (BETA)
#To do:
# [ ] Change lights at random times
# [x] Police lights (switch from red to blue)
# [x] Made the Turn Off Delay available for all Turn Off States
# [ ] Amend saturated color logic
# [x] Added input sections to simplify the layout and user friendlyness
# [x] General corrections to descriptions to improve user friendlyness
# [x] General code simplifications
@Twanne
Twanne / multi_click_button.yaml
Last active September 28, 2025 17:37
Home Assistant Blueprint: Multi Click Button
blueprint:
name: Multi Click Button
author: AntonH
homeassistant:
min_version: "2024.10.0"
description: |
**Version 1.4**
Allows multi-click actions to take place on a button.
Upon reaching the number of required clicks, it executes user defined actions.
#To do:
# [x] Update for duration selector with milliseconds
# [x] Amended syntax to new guidelines (HA 2024.8 & 2024.10 changes)
blueprint:
name: Multi Click Button (BETA)
author: AntonH
homeassistant:
min_version: "2024.10.0"
description: |
@Twanne
Twanne / the_everything_light_BETA.yaml
Last active March 11, 2025 18:27
Home Assistant Blueprint: The Everything Light BETA
blueprint:
name: The Everything Light (BETA)
author: AntonH
description: |
**Version 2.10** **(BETA)**
The Everything Light: select any trigger and turn on your light in multiple ways:
- just turn the light on in it's default state
- turn it on with a set brightness, color and/or temperature value
- turn it on dynamically with a brightness value that changes according to an ambient light sensor
@Twanne
Twanne / the_everything_light.yaml
Last active March 13, 2025 08:16
Home Assistant Blueprint: The Everything Light
blueprint:
name: The Everything Light
author: AntonH
description: |
**Version 2.10**
The Everything Light: select any trigger and turn on your light in multiple ways:
- just turn the light on in it's default state
- turn it on with a set brightness, color and/or temperature value
- turn it on dynamically with a brightness value that changes according to an ambient light sensor
@Twanne
Twanne / smart_lux_dimmer_BETA.yaml
Last active June 24, 2025 13:10
Home Assistant Blueprint: Smart Lux Dimmer BETA
#To do:
# [] Hysteresis
# [] Symplify code
# [x] Added input sections to simplify the layout and user friendliness
blueprint:
name: Smart Lux Dimmer (BETA)
author: AntonH
homeassistant:
min_version: "2024.10.0"
@Twanne
Twanne / smart_lux_dimmer.yaml
Last active June 24, 2025 13:11
Home Assistant Blueprint: Smart Lux Dimmer
blueprint:
name: Smart Lux Dimmer
author: AntonH
homeassistant:
min_version: "2024.10.0"
description: |
Version 4.4
Switch or dim lights based on the value of a light sensor.
Light colors or temperature can be set to a fixed value when inside or outside the measuring range (different values are possible).
Settings for brightness, color or temperature outside min and max values of the sensor can be set.
@Twanne
Twanne / joke_generator.yaml
Last active March 19, 2025 20:46
Home Assistant Blueprint: Joke Generator
blueprint:
name: Joke generator
author: AntonH
description: |
Version 1.1
This blueprint selects a random rude joke from a list.
There are 3 types of jokes to choose from: funny insults, yo momma jokes and dad jokes
It speaks The 9 most common languages in Europe: German, English, French, Italian, Spanish, Dutch, Portuguese, Turkish and Russian.
source_url: https://gist.github.com/Twanne/8c09e6a876befcfda1828dc0829612db
domain: automation
@Twanne
Twanne / light_repeater.yaml
Last active December 20, 2023 15:33
Home assistant script: light repeater
light_repeater:
alias: Light repeater
icon: mdi:lightbulb-auto-outline
description: Repeatedly turn on lights with a variable delay.
fields:
target_lights:
selector:
target:
entity:
domain: light