Skip to content

Instantly share code, notes, and snippets.

View blizzrdof77's full-sized avatar

Ben Wagner blizzrdof77

View GitHub Profile
@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-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-moes-zigbee-rotary-smart-knob-remote-control.yaml
Last active December 20, 2023 06:35
ZHA - Moes Tuya Smart Knob (TS004F) controller for remote control devices
blueprint:
name: ZHA - Moes Tuya Smart Knob (TS004F) controller for remote control devices
description: Control remotes (e.g. volume up/down) with a Moes Tuya smart knob (the spinny ones). You can set functions for single press, rotating left, and rotating right.
domain: automation
source_url: https://gist.github.com/blizzrdof77/c30c388ca5f4ce7ed72752296767417d
input:
remote:
name: Smart Knob Device
description: Moes Tuya Smart Knob Device to use
selector:
@blizzrdof77
blizzrdof77 / zha-moes-zigbee-rotary-smart-knob.yaml
Last active February 21, 2024 05:53
ZHA - Moes Tuya Smart Knob (TS004F) controller for lights
blueprint:
name: ZHA - Moes Tuya Smart Knob (TS004F) controller for lights
description: Control lights with a Moes Tuya smart knob (the spinny ones). You can set functions for single press, and rotating left/right will change the brightness smoothly of the selected light.
domain: automation
source_url: https://gist.github.com/blizzrdof77/0f686e66db30c871e362e24388c3f8fa
input:
remote:
name: Remote
description: Moes Tuya Smart Knob Device 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 / zha-lutron-aurora-smart-area-blueprint.yaml
Last active September 12, 2023 19:33 — forked from bjpetit/zha_lutron_aurora_blueprint.yaml
HASS Blueprint | ZHA - Lutron Aurora Smart Area with Night-Light Dimmer
blueprint:
name: ZHA - Lutron Aurora Smart Area with Night-Light Dimmer (v2.1)
description: Control lights of a provided area 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. Also supports late-night light groups.
domain: automation
source_url: https://gist.github.com/blizzrdof77/a0d048e58b8462748017e081bf3b9099
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
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 / 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
@blizzrdof77
blizzrdof77 / fix-wordpress-permissions.sh
Last active March 9, 2020 19:39 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#