Skip to content

Instantly share code, notes, and snippets.

View stboch's full-sized avatar

Steven Bochniewicz stboch

View GitHub Profile
@stboch
stboch / format_macaddress.json
Created March 28, 2023 19:40
format_macaddress
{
"create_time": "2023-03-28T19:36:11.883314+00:00",
"custom_function_id": "ba821c29dd95204206d5240ea66d1ecf4c4ef9eb",
"description": "Ensure mac address is in format of chosen input \ndefaults to - if not provided",
"draft_mode": false,
"inputs": [
{
"contains_type": [
"*"
],
@stboch
stboch / garbage_collection_slide_in_week.yaml
Last active February 2, 2022 13:13
Garbage Collection Intergration - Blueprint script - For days of inclimate weather or otherwise canceled service where collection slide by offset
blueprint:
name: Slide Schedule in Affect
description: >-
Will slide the affected entities the variable number of days. Best used during inclimate weather.
domain: script
source_url: https://gist.github.com/stboch/c93befde7a8699f90b8180e60283be40
input:
garbage_collection_entity:
name: Garbage Collection Entity
description: Which entity to update.
@stboch
stboch / workaround.py
Created August 24, 2020 11:34
Adding support for Inovelli Fan component remapping by instance id
"""Z-Wave workarounds."""
from . import const
# Manufacturers
FIBARO = 0x010F
GE = 0x0063
PHILIO = 0x013C
SOMFY = 0x0047
WENZHOU = 0x0118
VIZIA = 0x001D