Skip to content

Instantly share code, notes, and snippets.

View blizzrdof77's full-sized avatar

Ben Wagner blizzrdof77

View GitHub Profile
@blizzrdof77
blizzrdof77 / xiaomi-gateway3-round-zigbee-lumi-sensor-switch.yaml
Last active June 30, 2022 06:25
Xiaomi Wireless Remote Switch (WXKG01LM) via Xiaomi Gateway 3
blueprint:
name: Xiaomi Wireless Remote Switch (WXKG01LM) via Xiaomi Gateway 3
description: Automate your Xiaomi Mijia Wireless Round Remote Switch connected via the Xiaomi Gateway 3 and associated custom Home Assistant integration.
source_url: https://gist.github.com/blizzrdof77/f74358b38b84cd1686c2f13ebcab1dab
domain: automation
input:
button_sensor:
name: Button Sensor Entity
description: The sensor attached to the button device.
selector:
@blizzrdof77
blizzrdof77 / hue-philips-hue-dimmer-switch-controller-v1.yaml
Last active May 27, 2022 23:32
HASS Blueprint | Hue Event - Philips Hue Dimmer Switch Controller
blueprint:
name: Hue Event - Philips Hue Dimmer Switch Controller (v1)
description: Control lights with a Philips Hue Dimmer Switch controller connected via the Philips Hue integration (using 'hue_event' as the trigger).
domain: automation
source_url: https://gist.github.com/blizzrdof77/15cbdc862a09b7a0fa7e92686c2bea3c
input:
remote:
name: Remote
description: Philips Hue Dimmer Switch controller to use.
selector:
@blizzrdof77
blizzrdof77 / motion-lights-turn-off-after-timeout-with-no-motion-v1.yaml
Created May 27, 2022 22:42
HASS Blueprint | Motion - Turn Off Unoccupied Lights
blueprint:
name: Motion - Turn Off Unoccupied Lights v1.0
source_url: https://gist.github.com/blizzrdof77/b3244483825be220287fe98c3e12df2c
description: Turn off a switch that has been left on with no motion
domain: automation
input:
motion_entity:
name: Motion Sensor
description: The motion sensor to track.
selector:
@blizzrdof77
blizzrdof77 / new_env_var.sh
Created September 15, 2020 23:03
Create new environment variable & print assignment statement to your shell's '.rc' file
# -----------------------------------------
# Create new environment variable & print assignment statement to your shell's '.rc' file
#
# @1 = variable new
# @2 = variable definition
# @requires: '~/.zshrc' or '~/.bashrc'
# -----------------------------------------
function new_env_var {
local detected_shell="$(ps -o comm= -p $$)"
local rcfile=$(echo "${HOME}/.${detected_shell//-/}rc")
@blizzrdof77
blizzrdof77 / zha-aqara-opple-quad-button-pad.yaml
Last active January 26, 2022 08:46
HASS Blueprint | ZHA - Aqara Opple - Wireless 4-Button Scene Switch [Extended Support]
blueprint:
name: ZHA - Aqara Opple - Wireless 4-Button Scene Switch [Extended Support]
description: Control anything using Aqara Opple four-button remote. This version has linked entity support -- meaning you can link an entity_id to assign actions, target devices, and target areas by using custom attributes in customize.yaml.
domain: automation
source_url: https://gist.github.com/blizzrdof77/8f5151136fdd14f055874bd5e05fdc30
input:
remote:
name: Remote
description: Opple remote to use
selector:
@blizzrdof77
blizzrdof77 / zha-aqara-opple-duo-button-pad.yaml
Last active January 26, 2022 08:46
HASS Blueprint | ZHA - Aqara Opple - Wireless 2-Button Scene Switch [Extended Support]
blueprint:
name: ZHA - Aqara Opple - Wireless 2-Button Scene Switch [Extended Support]
description: Control anything using an Aqara Opple two-button remote. This version has linked entity support -- meaning you can link an entity_id to assign actions, target devices, and target areas by using custom attributes in customize.yaml.
domain: automation
source_url: https://gist.github.com/blizzrdof77/7dfb360c78596e0d39557ae3449fc75b
input:
remote:
name: Remote
description: Opple remote to use
selector:
@blizzrdof77
blizzrdof77 / zha-aqara-opple-sextuple-button-pad.yaml
Last active January 26, 2022 08:45
HASS Blueprint | ZHA - Aqara Opple - Wireless 6-Button Scene Switch [Extended Support]
blueprint:
name: ZHA - Aqara Opple - Wireless 6-Button Scene Switch [Extended Support]
description: Control anything using an Aqara Opple six-button remote. This version has linked entity support -- meaning you can link an entity_id to assign actions, target devices, and target areas by using custom attributes in customize.yaml.
domain: automation
source_url: https://gist.github.com/blizzrdof77/91341a37e4b2eb9db5047c1a20391953/
input:
remote:
name: Remote
description: Opple remote to use
selector:
@blizzrdof77
blizzrdof77 / zha-ikea-symfonisk-rotary-button-lights.yaml
Last active January 26, 2022 06:39 — forked from seamus65/zha_symfonisk_remote_lights.yaml
Blueprint for Home Assistant | Zigbee IKEA Symfonisk sound controller (for lights) [ZHA]
blueprint:
name: ZHA - IKEA Symfonisk sound controller for lights
description: Control lights with an IKEA Symfonisk sound controller (the spinny ones). You can set functions for single press, double press and triple press (this allows you to assign a scene, script, etc). Rotating left/right will change the brightness smoothly of the selected light.
domain: automation
source_url: https://gist.github.com/blizzrdof77/ced20025d0328d4adce4c28e8d22cee5
input:
remote:
name: Remote
description: IKEA Symfonisk controller to use
selector:
@blizzrdof77
blizzrdof77 / zha-lutron-aurora-expanded-blueprint.yaml
Created January 17, 2022 18:18
Blueprint for Lutron Aurora automations in ZHA (expanded)
blueprint:
name: ZHA - Lutron Aurora Dimmer Expanded v1.5
description: Control lights with a Lutron Aurora Dimmer Pressing in the dimmer button will toggle between turning lights on to full brightness, and turning the lights off. Rotating the dimmer will increase and decrease the light brightness. Adjust the sensitivity if updates from the dimmer are being sent too quickly.
domain: automation
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
selector:
device:
@blizzrdof77
blizzrdof77 / open-in-finder.sh
Last active April 6, 2020 06:41 — forked from haifengkao/open_finder_tab.sh
A shell script to open a folder in Finder in a new tab or new window (if no window present)
#!/bin/bash
# open the current folder in Finder's tab
if [ -z "$1" ]; then
folder_name=$PWD
else
folder_name=$1
fi