Skip to content

Instantly share code, notes, and snippets.

@Didgeridrew
Didgeridrew / label_input_boolean_group.yaml
Last active March 18, 2026 21:31
An HA Blueprint for a Template Switch that groups Input Booleans using Labels.
blueprint:
author: Didgeridrew
homeassistant:
min_version: 2025.4.4
name: Label-based Input Boolean Group Switch
description: Creates a switch to group the behavior and state of any number of Input Boolean Helpers.
source_url: https://gist.github.com/Didgeridrew/1053fd7233efa7c71d2cfcadd9944d7a
domain: template
input:
labels:
@Didgeridrew
Didgeridrew / ent_input_boolean_group.yaml
Last active March 18, 2026 21:31
An HA Blueprint for a Template Switch that groups Input Booleans
blueprint:
author: Didgeridrew
homeassistant:
min_version: 2025.4.4
source_url: https://gist.github.com/Didgeridrew/cb73635e0bb0fc1910d3098a47797068
name: Input Boolean Group Switch
description: Creates a switch to group the behavior and state of any number of Input Boolean Helpers.
domain: template
input:
booleans:
alias: Notify - Current Calendar Event - Multiple Calendars
description: ""
mode: single
triggers:
- event_type: custom_current_calendar
trigger: event
- event: start
entity_id: calendar.d
trigger: calendar
- event: end
blueprint:
name: Testing Trigger-based Template Blueprint
domain: template
input:
input_var_1:
input_var_2:
variables:
var_1: !input input_var_1
var_2: !input input_var_2
trigger:
@Didgeridrew
Didgeridrew / bp_relative_temp_climate.yaml
Created December 13, 2024 16:32
HA - Blueprint - Increase or Decrease Target Temperature (Relative)
blueprint:
name: Increase or Decrease Target Temperature (Relative)
description: Increase or decrease the temperature a given number of degrees relative to the current setting
domain: script
input:
climate_ent:
selector:
entity:
filter:
domain: climate
@Didgeridrew
Didgeridrew / shade_predictor.yaml
Created July 5, 2024 20:13
HA - LUT w/ MAcro for alexamend shade predictor
{% set y_day_azi = {
1:
{"north": none,
"east": none,
"south": [126,207],
"west": [202,232]},
13:
{"north": none,
"east": none,
"south": [123,207],
alias: Office Wall Switch
description: ""
trigger:
- platform: state
entity_id:
- switch.office_wall_switch_1
- light.office_ceiling_light
- switch.office_wall_switch_2
- climate.office_ac
- switch.office_wall_switch_3
@Didgeridrew
Didgeridrew / wk_min_temp.yaml
Last active March 30, 2024 15:28
HA - Weekly Minimum Temp
template:
- trigger:
- platform: state
not_to:
- unknown
- unavailable
entity_id: sensor.temp
- platform: template
value_template: "{{ now().weekday() == 0 }}"
action:
@Didgeridrew
Didgeridrew / times_opened.yaml
Created February 6, 2024 16:43
HA - Times opened, like History stats but without time
template:
- trigger:
- platform: state
entity_id: input_boolean.test_bool_1
to: "on"
- platform: event
event_type: custom_reset_times_opened
- platform: event
event_type: event_template_reloaded
sensor:
@Didgeridrew
Didgeridrew / event_x_dates.yaml
Created February 1, 2024 05:11
HA - Create cloned events over multiple dates
alias: Repeat for Each date create Cal event
description: ""
fields:
summary:
required: true
name: Event Summary
description: The title/summary for the calendar events
selector:
text:
work_date_1: