Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Enbrighten 800 Series Z-Wave On/Off Paddle Switch
domain: automation
input:
zwave_device:
name: Switch
selector:
device:
integration: zwave_js
blueprint:
name: Inovelli LZW30-SN Hue Dimmer
description: >-
Use an Inovelli LZW30-SN Z-Wave JS switch to control Hue lights through
the philips-hue-smooth-dimmer custom integration.
domain: automation
input:
zwave_device:
name: Inovelli switch
description: The Inovelli LZW30-SN device from Z-Wave JS.
blueprint:
name: Inovelli Red Series LZW31-SN Dimmer (ZWave-JS)
description: Create automations for the Inovelli Red Series LZW31-SN Dimmer using the ZWave-JS integration.
domain: automation
input:
inovelli_switch:
name: Inovelli Dimmer
description: "List of available inovelli LZW31-SN dimmers."
selector:
device:
blueprint:
name: Enbrighten 800 Series Z-Wave On/Off Paddle Switch + Hue Dimmer
domain: automation
input:
zwave_device:
name: Switch
selector:
device:
integration: zwave_js
@victorlin
victorlin / ge_zw4005.yaml
Last active May 21, 2026 05:11 — forked from shannonfritz/ge_zw4005.yaml
GE 14291 / ZW4005 Home Assistant Blueprint
blueprint:
name: GE 14291 / ZW4005 Switch (Z-Wave JS) v0.01
description: Create automations for the GE Switches using the Z-Wave JS integration.
domain: automation
input:
ge_jasco:
name: Switch Device
description: 'List of available GE 14291 / ZW4005 switches
NOTE: This device does not have Z-Wave event for Single Tap up or down'
@victorlin
victorlin / copy-chromium-extensions.sh
Last active March 25, 2026 23:03
helper script to copy extension files from one Chromium profile to another
#!/usr/bin/env bash
# one column for `select`
COLUMNS=1
main() {
local source_profile
local ext_id
local dest
local profiles=()
@victorlin
victorlin / batch-review-github-prs
Last active July 23, 2026 17:54
Script to facilitate batched review of dependabot PRs.
#!/usr/bin/env bash
# Script to facilitate batched review of dependabot PRs
# Change these values
AUTHOR="nextstrain-bot"
TITLE="vendored"
COMMENT=""
MERGE_METHOD="--merge"
@victorlin
victorlin / speak-chinese-siri-shortcut.md
Created June 8, 2025 18:04
Read Chinese text from clipboard using the Shortcuts app

Read Chinese text from clipboard using the Shortcuts app

Apple's Siri voices sound very natural and are great for learning.

demo.mov

Steps to set up:

1. Download a Siri voice

@victorlin
victorlin / 1-webhook-summary.sh
Last active March 28, 2025 19:17
generate list of webhooks used by all repos under a github organization
ORG="nextstrain"
repos=$(gh api --paginate \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"/orgs/$ORG/repos?per_page=100" \
| jq -r '.[].name')
declare -A hook_repos