"""Quirk for iluminize DIM actor.""" from zigpy.profiles import zgp, zha from zigpy.quirks import CustomCluster, CustomDevice from zigpy.zcl.clusters.general import ( Basic, GreenPowerProxy, Groups, Identify, LevelControl, OnOff, Ota, Scenes, ) from zigpy.zcl.clusters.homeautomation import Diagnostic from zigpy.zcl.clusters.lighting import Color from zigpy.zcl.clusters.lightlink import LightLink from zhaquirks.const import ( DEVICE_TYPE, ENDPOINTS, INPUT_CLUSTERS, MODELS_INFO, OUTPUT_CLUSTERS, PROFILE_ID, ) from zhaquirks.iluminize import ILUMINIZE class IluminizeDIMColorCluster(CustomCluster, Color): """iluminize DIM Lighting custom cluster.""" # Remove RGB color wheel for DIM Lighting _CONSTANT_ATTRIBUTES = {0x400A: 0} class DIMLight(CustomDevice): """iluminize ZigBee LightLink DIM Lighting device.""" signature = { MODELS_INFO: [(ILUMINIZE, "DIM Lighting")], ENDPOINTS: { 1: { #