Skip to content

Instantly share code, notes, and snippets.

View erkr's full-sized avatar

Eric Kreuwels erkr

View GitHub Profile
@spidgorny
spidgorny / lidl-button.py
Created October 15, 2022 11:13
Silver Crest ( Lidl) smart Button Home Assistant Quirks
"""Lidl TS004F Smart Button SSBM A1"""
from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
Basic,
Groups,
Identify,
LevelControl,
OnOff,
@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: