Skip to content

Instantly share code, notes, and snippets.

View blizzrdof77's full-sized avatar

Ben Wagner blizzrdof77

View GitHub Profile
@blizzrdof77
blizzrdof77 / binary-sensor-light-switch-controller.yaml
Last active January 13, 2024 23:46
Binary Sensor-activated Light Switch Controller Blueprint
blueprint:
name: Binary Sensor-activated Light Switch Controller
description: Turn on/off a light when binary sensor value turns on/off.
domain: automation
source_url: https://gist.github.com/blizzrdof77/07417204379764fd76fd8b8226190e4b
input:
trigger_entity:
name: Binary Sensor
selector:
entity:
@blizzrdof77
blizzrdof77 / automatic-turn-off.yaml
Last active January 12, 2024 03:08 — forked from tdiekel/automatic-turn-off.yaml
Automatic light or switch turn off after time
blueprint:
name: Automatic light or switch turn off after timeout
description: >
Given a switchable entity, when it is turned on, it will automatically turn off after a set timeout period off after a certain period of time.
Based on:
- [Turn Off Light After Time](https://gist.github.com/JonTheNiceGuy/5ac636739165dd593030c0fed16eb618) by [JonTheNiceGuy](https://gist.github.com/JonTheNiceGuy)
- [Automatic light or switch turn off after time](https://gist.github.com/tdiekel/88ac0967cf6d3002aa91e65e3768eb45) by [tdiekel](https://gist.github.com/tdiekel)
domain: automation
input:
entity:
This file is used to be tracked and identified by https://lrc-maker.github.io
@blizzrdof77
blizzrdof77 / strmod
Last active August 26, 2023 21:41
String Modification Utility
#!/usr/bin/env bash
script_name='strmod'
script_title='String Modification Utility'
version=0.44.0
updated='2023-08-25'
if [ -f "$(which batcat)" ] && [ ! -z "$(which batcat)" ] && [ -z "$(which bat)" ]; then
BatCat="$(command -v batcat) --language=Manpage"
elif [ -f "$(which bat)" ] && [ ! -z "$(which bat)" ]; then
This file is used to be tracked and identified by https://lrc-maker.github.io
@blizzrdof77
blizzrdof77 / go-upc-barcode-api-definition.yaml
Created January 30, 2023 20:29
Go-UPC Barcode API: Open API 3.0 Definition
openapi: 3.0.0
servers:
- description: Go-UPC Barcode-Lookup API
url: https://go-upc.com/api/v1
info:
version: 1.0.0
title: Go-UPC Barcode-Lookup API
description: Find information on products from around the globe. The API supports UPC, EAN, and ISBN barcode numbers, and info returned includes product name, description, brand, image URL, and more.
paths:
/code/{code}:
@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 / 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: