This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""$ 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 ( |