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 8, 2024 22:39
Home Assistant Blueprint: Party Lights
blueprint:
name: Party Lights
author: AntonH
description: |
**Version 2.3**
Lights go to party mode (color loops or fade-in-and-out)
⚠️ **NOTE:** ⚠️
*This automation is triggered by the status of a switch or an input_boolean entity.*
@Twanne
Twanne / party_lights_BETA.yaml
Last active September 16, 2024 10:34
Home Assistant Blueprint: Party Lights (BETA)
blueprint:
name: Party Lights (BETA)
author: AntonH
description: |
**Version 2.3** **(BETA)**
Lights go to party mode (color loops or fade-in-and-out)
⚠️ **NOTE:** ⚠️
*This automation is triggered by the status of a switch or an input_boolean entity.*
@Twanne
Twanne / multi_click_button.yaml
Last active October 17, 2024 14:18
Home Assistant Blueprint: Multi Click Button
blueprint:
name: Multi Click Button
author: AntonH
description: |
**Version 1.2**
Allows multi-click actions to take place on a button.
Upon reaching the number of required clicks, it executes user defined actions.
There are 3 entity types supported:
- button
blueprint:
name: Multi Click Button (BETA)
author: AntonH
description: |
**Version 1.1 (BETA)**
Allows multi-click actions to take place on a button.
Upon reaching the number of required clicks, it executes user defined actions.
There are 3 entity types supported:
- button
@Twanne
Twanne / the_everything_light_BETA.yaml
Last active January 23, 2024 07:39
Home Assistant Blueprint: The Everything Light BETA
blueprint:
name: The Everything Light (BETA)
author: AntonH
description: |
**Version 2.5** **(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 January 23, 2024 07:39
Home Assistant Blueprint: The Everything Light
blueprint:
name: The Everything Light
author: AntonH
description: |
**Version 2.5**
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 January 7, 2024 07:46
Home Assistant Blueprint: Smart Lux Dimmer BETA
blueprint:
name: Smart Lux Dimmer (BETA)
author: AntonH
description: |
Version 4.1 (BETA)
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.
To smoothen out transitions, a time can be set where the light will move from the current to the new brightness.
@Twanne
Twanne / joke_generator.yaml
Last active July 3, 2024 20:09
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