Skip to content

Instantly share code, notes, and snippets.

@H3buss
H3buss / doAroundAlarm.yaml
Last active September 2, 2023 18:12
Do stuff before and after an alarm
blueprint:
name: Do something Before/After alarm
description: >
Does an action at given time before alarm and after alarm
It can delay post-actions on alarm snooze.
It can abort if an entity switches to a given state.
domain: automation
input:
alarm_sensor:
name: Alarm sensor
@H3buss
H3buss / sync2switches.yml
Created May 6, 2021 10:08
Synchronize 2 switches
blueprint:
name: Synchronize 2 States
description: Bind two switches together to act in unison
domain: automation
input:
switch_1:
name: Switch 1
selector:
entity:
domain: switch