"""Quirk for iluminize CCT actor.""" from zigpy.profiles import zgp, zll 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 IluminizeCCTColorCluster(CustomCluster, Color): """iluminize CCT Lighting custom cluster.""" # Remove RGB color wheel for CCT Lighting: only expose color temperature _CONSTANT_ATTRIBUTES = {0x400A: 16} class CCTLight(CustomDevice): """iluminize ZigBee LightLink CCT Lighting device.""" signature = { MODELS_INFO: [(ILUMINIZE, "CCT Lighting")], ENDPOINTS: { 1: { #