Skip to content

Instantly share code, notes, and snippets.

View enyone's full-sized avatar

Juho Tykkälä enyone

View GitHub Profile
"""$ cat config/quirks/lidltuyaeffects.py"""
"""Quirk for LIDL Melinera (Tuya) LED String Lights."""
import logging
from typing import Any, Union, Optional
import zigpy.types as t
from zigpy.profiles import zha
from zigpy.quirks import CustomCluster, CustomDevice
from zigpy.zcl import foundation
from zigpy.zcl.clusters.general import (