zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
743 stars 680 forks source link

[Device Support Request] Livarno / Lidl ceiling lamp with module TS0504B #1980

Closed J3ru closed 1 year ago

J3ru commented 1 year ago

I can’t set any color temperature, the RGB works, but quite dim, when I set the “normal” white color it can go very bright. But when using the normal white light and trying to set color temperature, it does nothing.

I'd like to be able to control the white light temperature

ZBDongle-E

Device signature ```yaml { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010d", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0300", "0x1000", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } }, "manufacturer": "_TZ3210_sroezl0s", "model": "TS0504B", "class": "zigpy.device.Device" } ```
Diagnostic information ```yaml { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.11.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "5.15.74", "supervisor": "2022.11.2", "host_os": "Home Assistant OS 9.3", "docker_version": "20.10.18", "chassis": "vm", "run_as_root": true }, "custom_components": { "localtuya": { "version": "4.1.1", "requirements": [] }, "hacs": { "version": "1.28.3", "requirements": [ "aiogithubapi>=22.2.4" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.34.4", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.87", "zigpy-deconz==0.19.1", "zigpy==0.51.6", "zigpy-xbee==0.16.2", "zigpy-zigate==0.10.3", "zigpy-znp==0.9.1" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 31161, "manufacturer": "_TZ3210_sroezl0s", "model": "TS0504B", "name": "_TZ3210_sroezl0s TS0504B", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4098, "power_source": "Mains", "lqi": 204, "rssi": -49, "last_seen": "2022-12-01T22:14:46", "available": true, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010d", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0300", "0x1000", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } } }, "active_coordinator": false, "entities": [ { "entity_id": "light.lamp_zolder_overloop_light", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "number.lamp_zolder_overloop_start_up_color_temperature", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "button.lamp_zolder_overloop_identify", "name": "_TZ3210_sroezl0s TS0504B" } ], "neighbors": [], "endpoint_names": [ { "name": "EXTENDED_COLOR_LIGHT" }, { "name": "unknown 97 device_type of 0xa1e0 profile id" } ], "user_given_name": "Lamp Zolder overloop", "device_reg_id": "48925c98b6dedf7b8a5a4fd3b6477868", "area_id": "zolder", "cluster_details": { "1": { "device_type": { "name": "EXTENDED_COLOR_LIGHT", "id": 269 }, "profile_id": 260, "in_clusters": { "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0004": { "attribute_name": "manufacturer", "value": "_TZ3210_sroezl0s" }, "0x0005": { "attribute_name": "model", "value": "TS0504B" } }, "unsupported_attributes": {} }, "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0004": { "endpoint_attribute": "groups", "attributes": {}, "unsupported_attributes": {} }, "0x0005": { "endpoint_attribute": "scenes", "attributes": {}, "unsupported_attributes": {} }, "0x0006": { "endpoint_attribute": "on_off", "attributes": { "0x0000": { "attribute_name": "on_off", "value": 1 } }, "unsupported_attributes": { "0x4003": { "attribute_name": "start_up_on_off" } } }, "0x1000": { "endpoint_attribute": "lightlink", "attributes": {}, "unsupported_attributes": {} }, "0x0008": { "endpoint_attribute": "level", "attributes": { "0x0000": { "attribute_name": "current_level", "value": 5 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "start_up_current_level" }, "0x0014": { "attribute_name": "default_move_rate" }, "0x0013": { "attribute_name": "off_transition_time" }, "0x0012": { "attribute_name": "on_transition_time" }, "0x0010": { "attribute_name": "on_off_transition_time" }, "0x0011": { "attribute_name": "on_level" } } }, "0x0300": { "endpoint_attribute": "light_color", "attributes": { "0x0000": { "attribute_name": "current_hue", "value": 22 }, "0x0001": { "attribute_name": "current_saturation", "value": 172 }, "0x0003": { "attribute_name": "current_x", "value": 0 }, "0x0004": { "attribute_name": "current_y", "value": 0 }, "0x0007": { "attribute_name": "color_temperature", "value": 153 }, "0x0008": { "attribute_name": "color_mode", "value": 2 }, "0x400a": { "attribute_name": "color_capabilities", "value": 25 }, "0x400b": { "attribute_name": "color_temp_physical_min", "value": 153 }, "0x400c": { "attribute_name": "color_temp_physical_max", "value": 500 }, "0x4010": { "attribute_name": "start_up_color_temperature", "value": 500 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "enhanced_current_hue" }, "0x4002": { "attribute_name": "color_loop_active" } } }, "0xef00": { "endpoint_attribute": null, "attributes": {}, "unsupported_attributes": {} } }, "out_clusters": { "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } }, "242": { "device_type": { "name": "unknown", "id": 97 }, "profile_id": 41440, "in_clusters": {}, "out_clusters": { "0x0021": { "endpoint_attribute": "green_power", "attributes": {}, "unsupported_attributes": {} } } } } } } ```
Additional logs ``` Paste any additional debug logs here. Don't remove the extra line breaks outside the ``` marks. ```

Additional context Add any other context or screenshots about the feature request here.

RafaelSchridi commented 1 year ago

Same problems here also using a ZBDongle-E

```yaml { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010d", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0300", "0x1000", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } }, "manufacturer": "_TZ3210_sroezl0s", "model": "TS0504B", "class": "zigpy.device.Device" } ```
Diagnostic information ```yaml { "home_assistant": { "installation_type": "Unsupported Third Party Container", "version": "2022.11.4", "dev": false, "hassio": false, "virtualenv": true, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "5.15.74-1-lts", "run_as_root": false }, "custom_components": { "basestation": { "version": "0.0.1", "requirements": [] }, "localtuya": { "version": "4.1.1", "requirements": [] }, "neerslag": { "version": "2022.07.07.1", "requirements": [] }, "hacs": { "version": "1.28.3", "requirements": [ "aiogithubapi>=22.2.4" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.34.2", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.86", "zigpy-deconz==0.19.0", "zigpy==0.51.5", "zigpy-xbee==0.16.2", "zigpy-zigate==0.10.3", "zigpy-znp==0.9.1" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 51254, "manufacturer": "_TZ3210_sroezl0s", "model": "TS0504B", "name": "_TZ3210_sroezl0s TS0504B", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4098, "power_source": "Mains", "lqi": null, "rssi": null, "last_seen": "2022-11-28T20:15:39", "available": false, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010d", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0300", "0x1000", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } } }, "active_coordinator": false, "entities": [ { "entity_id": "button.lidl_paneel_identify", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "light.lidl_paneel_light", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "number.lidl_paneel_start_up_color_temperature", "name": "_TZ3210_sroezl0s TS0504B" } ], "neighbors": [], "endpoint_names": [ { "name": "EXTENDED_COLOR_LIGHT" }, { "name": "unknown 97 device_type of 0xa1e0 profile id" } ], "user_given_name": "LIDL Paneel", "device_reg_id": "96a25f08cb92285500fc0df16cc3b12a", "area_id": null, "cluster_details": { "1": { "device_type": { "name": "EXTENDED_COLOR_LIGHT", "id": 269 }, "profile_id": 260, "in_clusters": { "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0004": { "attribute_name": "manufacturer", "value": "_TZ3210_sroezl0s" }, "0x0005": { "attribute_name": "model", "value": "TS0504B" } }, "unsupported_attributes": {} }, "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0004": { "endpoint_attribute": "groups", "attributes": {}, "unsupported_attributes": {} }, "0x0005": { "endpoint_attribute": "scenes", "attributes": {}, "unsupported_attributes": {} }, "0x0006": { "endpoint_attribute": "on_off", "attributes": { "0x0000": { "attribute_name": "on_off", "value": 1 } }, "unsupported_attributes": { "0x4003": { "attribute_name": "start_up_on_off" } } }, "0x1000": { "endpoint_attribute": "lightlink", "attributes": {}, "unsupported_attributes": {} }, "0x0008": { "endpoint_attribute": "level", "attributes": { "0x0000": { "attribute_name": "current_level", "value": 3 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "start_up_current_level" }, "0x0014": { "attribute_name": "default_move_rate" }, "0x0010": { "attribute_name": "on_off_transition_time" }, "0x0011": { "attribute_name": "on_level" }, "0x0012": { "attribute_name": "on_transition_time" }, "0x0013": { "attribute_name": "off_transition_time" } } }, "0x0300": { "endpoint_attribute": "light_color", "attributes": { "0x0000": { "attribute_name": "current_hue", "value": 0 }, "0x0001": { "attribute_name": "current_saturation", "value": 254 }, "0x0003": { "attribute_name": "current_x", "value": 9502 }, "0x0004": { "attribute_name": "current_y", "value": 4849 }, "0x0007": { "attribute_name": "color_temperature", "value": 153 }, "0x0008": { "attribute_name": "color_mode", "value": 2 }, "0x400a": { "attribute_name": "color_capabilities", "value": 25 }, "0x400b": { "attribute_name": "color_temp_physical_min", "value": 153 }, "0x400c": { "attribute_name": "color_temp_physical_max", "value": 500 }, "0x4010": { "attribute_name": "start_up_color_temperature", "value": 153 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "enhanced_current_hue" }, "0x4002": { "attribute_name": "color_loop_active" } } }, "0xef00": { "endpoint_attribute": null, "attributes": {}, "unsupported_attributes": {} } }, "out_clusters": { "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } }, "242": { "device_type": { "name": "unknown", "id": 97 }, "profile_id": 41440, "in_clusters": {}, "out_clusters": { "0x0021": { "endpoint_attribute": "green_power", "attributes": {}, "unsupported_attributes": {} } } } } } } ```
javicalle commented 1 year ago

That is my proposal for yours devices:

rgbcct.py ```python class DimmableLamp(CustomDevice): """Lidl dimmable lamp.""" signature = { MODEL: "TS0504B", ENDPOINTS: { # 1: { # "profile_id": 260, # "device_type": "0x010d", # "in_clusters": ["0x0000","0x0003","0x0004","0x0005","0x0006","0x0008","0x0300","0x1000","0xef00"], # "out_clusters": ["0x000a","0x0019"] PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.EXTENDED_COLOR_LIGHT, INPUT_CLUSTERS: [ Basic.cluster_id, Identify.cluster_id, Groups.cluster_id, Scenes.cluster_id, OnOff.cluster_id, LevelControl.cluster_id, Color.cluster_id, LightLink.cluster_id, TuyaNewManufCluster.cluster_id, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 242: { # "profile_id": 41440, # "device_type": "0x0061", # "in_clusters": [], # "out_clusters": ["0x0021"] PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, }, } replacement = { ENDPOINTS: { 1: { INPUT_CLUSTERS: [ Basic.cluster_id, Identify.cluster_id, Groups.cluster_id, Scenes.cluster_id, OnOff.cluster_id, LevelControl.cluster_id, LidlRGBCCTColorCluster, LightLink.cluster_id, TuyaNewManufCluster, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 242: { PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, }, } ```

You will need to import the TuyaNewManufCluster and the MODEL:

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import TuyaNewManufCluster

Configure your local quirk folder. Copy the current rgbcct.py file:

Add the proposed quirk and the import to the file. Save changes, remove the device from HA, restart HA and pair the device again.

J3ru commented 1 year ago

That is my proposal for yours devices:

rgbcct.py You will need to import the TuyaNewManufCluster:

from zhaquirks.tuya import TuyaNewManufCluster

Configure your local quirk folder. Copy the current rgbcct.py file:

Thanks so much, will try this ASAP, can you elaborate on the importing TuyaNewManufCluster not too sure how to do that. Local quirck I think I found some documentation on. Sorry still new to all this.

javicalle commented 1 year ago

There is a guide about enabling custom quirks:

The proposed quirk will go at the bottom of the file, but the import statement must be at the top (with all the others statements). The upper part of the file must see like this (with the new import statement last):

"""Quirk for LIDL RGB+CCT bulb."""
from zigpy.profiles import zha
from zigpy.quirks import CustomCluster, CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    LevelControl,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.lighting import Color
from zigpy.zcl.clusters.lightlink import LightLink

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import TuyaNewManufCluster
J3ru commented 1 year ago

There is a guide about enabling custom quirks:

The proposed quirk will go at the bottom of the file, but the import statement must be at the top (with all the others statements). The upper part of the file must see like this (with the new import statement last):

"""Quirk for LIDL RGB+CCT bulb."""
from zigpy.profiles import zha
from zigpy.quirks import CustomCluster, CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    LevelControl,
    OnOff,
    Ota,
    Scenes,
    Time,
)
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.tuya import TuyaNewManufCluster

I might be doing something wrong, but getting this after restart, and can't find the device in discovery: Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2 for zha Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/zha/init.py", line 100, in async_setup_entry setup_quirks(config) File "/usr/local/lib/python3.10/site-packages/zhaquirks/init.py", line 409, in setup importer.find_module(modname).load_module(modname) File "", line 548, in _check_name_wrapper File "", line 1063, in load_module File "", line 888, in load_module File "", line 290, in _load_module_shim File "", line 719, in _load File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/config/zha_quirks/rgbcct.py", line 101, in class DimmableLamp(CustomDevice): File "/config/zha_quirks/rgbcct.py", line 105, in DimmableLamp MODEL: "TS0504B", NameError: name 'MODEL' is not defined

This is what my rgbcct.py looks like

```yaml """Quirk for LIDL RGB+CCT bulb.""" from zigpy.profiles import zha from zigpy.quirks import CustomCluster, CustomDevice from zigpy.zcl.clusters.general import ( Basic, GreenPowerProxy, Groups, Identify, LevelControl, OnOff, Ota, Scenes, Time, ) 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.tuya import TuyaNewManufCluster class LidlRGBCCTColorCluster(CustomCluster, Color): """Lidl RGB+CCT Lighting custom cluster.""" # Set correct capabilities to ct, xy, hs # LIDL bulbs do not correctly report this attribute (comes back as None in Home Assistant) _CONSTANT_ATTRIBUTES = {0x400A: 0b11001} class RGBCCTLight(CustomDevice): """Lidl RGB+CCT Lighting device.""" signature = { MODELS_INFO: [("_TZ3000_dbou1ap4", "TS0505A")], ENDPOINTS: { 1: { # 1: { # "profile_id": 260, # "device_type": "0x010d", # "in_clusters": ["0x0000","0x0003","0x0004","0x0005","0x0006","0x0008","0x0300","0x1000","0xef00"], # "out_clusters": ["0x000a","0x0019"] PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.EXTENDED_COLOR_LIGHT, INPUT_CLUSTERS: [ Basic.cluster_id, Identify.cluster_id, Groups.cluster_id, Scenes.cluster_id, OnOff.cluster_id, LevelControl.cluster_id, Color.cluster_id, LightLink.cluster_id, TuyaNewManufCluster.cluster_id, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 242: { # "profile_id": 41440, # "device_type": "0x0061", # "in_clusters": [], # "out_clusters": ["0x0021"] PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, }, } replacement = { ENDPOINTS: { 1: { INPUT_CLUSTERS: [ Basic.cluster_id, Identify.cluster_id, Groups.cluster_id, Scenes.cluster_id, OnOff.cluster_id, LevelControl.cluster_id, LidlRGBCCTColorCluster, LightLink.cluster_id, TuyaNewManufCluster, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 242: { PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, }, } ```
javicalle commented 1 year ago

I have updated my previous comment. There is a new MODEL import in the middle of the from zhaquirks.const import. Update the quirk and repeat.

J3ru commented 1 year ago

That is my proposal for yours devices:

rgbcct.py

class DimmableLamp(CustomDevice):
    """Lidl dimmable lamp."""

    signature = {
        MODEL: "TS0504B",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=257
            # input_clusters=[0, 3, 4, 5, 6, 8, 768, 4096]
            # output_clusters=[10, 25]>
            1: {
                # "profile_id": 260,
                # "device_type": "0x010d",
                # "in_clusters": ["0x0000","0x0003","0x0004","0x0005","0x0006","0x0008","0x0300","0x1000","0xef00"],
                # "out_clusters": ["0x000a","0x0019"]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.EXTENDED_COLOR_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    LevelControl.cluster_id,
                    Color.cluster_id,
                    LightLink.cluster_id,
                    TuyaNewManufCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            242: {
                # "profile_id": 41440,
                # "device_type": "0x0061",
                # "in_clusters": [],
                # "out_clusters": ["0x0021"]
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    LevelControl.cluster_id,
                    LidlRGBCCTColorCluster,
                    LightLink.cluster_id,
                    TuyaNewManufCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

You will need to import the TuyaNewManufCluster and the MODEL:

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import TuyaNewManufCluster

Configure your local quirk folder. Copy the current rgbcct.py file:

Add the proposed quirk and the import to the file. Save changes, remove the device from HA, restart HA and pair the device again.

ZHA is now working again, however it hasn't fixed the issue. Is there any information I can provide which will give you more insight?

Edit: Just a sec I did a stupid. I forgot I disabled the quirks. Sadly after enabling it again, and removing the device, restarting HA and re-adding the device it still doesn't work

javicalle commented 1 year ago

Can you attach the device diagnostic information?

J3ru commented 1 year ago

Can you attach the device diagnostic information?

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "5.15.74", "supervisor": "2022.11.2", "host_os": "Home Assistant OS 9.3", "docker_version": "20.10.18", "chassis": "vm", "run_as_root": true }, "custom_components": { "localtuya": { "version": "4.1.1", "requirements": [] }, "hacs": { "version": "1.28.3", "requirements": [ "aiogithubapi>=22.2.4" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.34.5", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.88", "zigpy-deconz==0.19.2", "zigpy==0.52.3", "zigpy-xbee==0.16.2", "zigpy-zigate==0.10.3", "zigpy-znp==0.9.2" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "2652", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "sonoffplus", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "sonoffplus", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "tubeszb", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "tubeszb", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "zigstar", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "conbee", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "zigbee", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "zigate", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "zigate", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "bv 2010/10", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "zigate" }, { "type": "_zigstar_gw._tcp.local.", "name": "zigstar" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "REDACTED", "nwk": 5618, "manufacturer": "_TZ3210_sroezl0s", "model": "TS0504B", "name": "_TZ3210_sroezl0s TS0504B", "quirk_applied": true, "quirk_class": "rgbcct.DimmableLamp", "manufacturer_code": 4098, "power_source": "Mains", "lqi": 216, "rssi": -46, "last_seen": "2022-12-11T01:03:47", "available": false, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, allocate_address=True, is_alternate_pan_coordinator=False, is_coordinator=False, is_end_device=False, is_full_function_device=True, is_mains_powered=True, is_receiver_on_when_idle=True, is_router=True, is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010d", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0300", "0x1000", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } } }, "active_coordinator": false, "entities": [ { "entity_id": "button.lamp_overloop_zolder_identify", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "light.lamp_overloop_zolder_light", "name": "_TZ3210_sroezl0s TS0504B" }, { "entity_id": "number.lamp_overloop_zolder_start_up_color_temperature", "name": "_TZ3210_sroezl0s TS0504B" } ], "neighbors": [], "routes": [], "endpoint_names": [ { "name": "EXTENDED_COLOR_LIGHT" }, { "name": "unknown 97 device_type of 0xa1e0 profile id" } ], "user_given_name": "Lamp overloop zolder", "device_reg_id": "48925c98b6dedf7b8a5a4fd3b6477868", "area_id": "zolder", "cluster_details": { "1": { "device_type": { "name": "EXTENDED_COLOR_LIGHT", "id": 269 }, "profile_id": 260, "in_clusters": { "0x0000": { "endpoint_attribute": "basic", "attributes": {}, "unsupported_attributes": {} }, "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0004": { "endpoint_attribute": "groups", "attributes": {}, "unsupported_attributes": {} }, "0x0005": { "endpoint_attribute": "scenes", "attributes": {}, "unsupported_attributes": {} }, "0x0006": { "endpoint_attribute": "on_off", "attributes": { "0x0000": { "attribute_name": "on_off", "value": 1 } }, "unsupported_attributes": { "0x4003": { "attribute_name": "start_up_on_off" } } }, "0x0008": { "endpoint_attribute": "level", "attributes": { "0x0000": { "attribute_name": "current_level", "value": 51 } }, "unsupported_attributes": { "0x0013": { "attribute_name": "off_transition_time" }, "0x4000": { "attribute_name": "start_up_current_level" }, "0x0014": { "attribute_name": "default_move_rate" }, "0x0012": { "attribute_name": "on_transition_time" }, "0x0010": { "attribute_name": "on_off_transition_time" }, "0x0011": { "attribute_name": "on_level" } } }, "0x0300": { "endpoint_attribute": "light_color", "attributes": { "0x0000": { "attribute_name": "current_hue", "value": 0 }, "0x0001": { "attribute_name": "current_saturation", "value": 254 }, "0x0003": { "attribute_name": "current_x", "value": 27328 }, "0x0004": { "attribute_name": "current_y", "value": 14286 }, "0x0007": { "attribute_name": "color_temperature", "value": 249 }, "0x0008": { "attribute_name": "color_mode", "value": 2 }, "0x400a": { "attribute_name": "color_capabilities", "value": 25 }, "0x400b": { "attribute_name": "color_temp_physical_min", "value": 153 }, "0x400c": { "attribute_name": "color_temp_physical_max", "value": 500 }, "0x4010": { "attribute_name": "start_up_color_temperature", "value": 193 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "enhanced_current_hue" }, "0x4002": { "attribute_name": "color_loop_active" } } }, "0x1000": { "endpoint_attribute": "lightlink", "attributes": {}, "unsupported_attributes": {} }, "0xef00": { "endpoint_attribute": "tuya_manufacturer", "attributes": {}, "unsupported_attributes": {} } }, "out_clusters": { "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} }, "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} } } }, "242": { "device_type": { "name": "unknown", "id": 97 }, "profile_id": 41440, "in_clusters": {}, "out_clusters": { "0x0021": { "endpoint_attribute": "green_power", "attributes": {}, "unsupported_attributes": {} } } } } } }

J3ru commented 1 year ago

Can you attach the device diagnostic information?

Do you need any additional information?

Yakie996 commented 1 year ago

I got the same problem with the lidl light, I cant even turn it off in HA i'm using the Skyconnect stick. image

javicalle commented 1 year ago

@J3ru your device is loading the quirk but seems not being working as expected. @Yakie996 have you enabled and configured the local quirk for your device?

To go any forward we need the device logs. Enable the debug logs and look for the logs and attach the relevant info when you operate the device:

Yakie996 commented 1 year ago

@J3ru your device is loading the quirk but seems not being working as expected. @Yakie996 have you enabled and configured the local quirk for your device?

To go any forward we need the device logs. Enable the debug logs and look for the logs and attach the relevant info when you operate the device:

Hi,

I did this

zha:
  custom_quirks_path: /config/custom_zha_quirks/
Making one folder with the name custom_zha_quirks in you HA config directory.

But i don't understand which part of your code I need to put in the quirk?

Sorry this is all new to me.

javicalle commented 1 year ago

Is all explained here: https://github.com/zigpy/zha-device-handlers/issues/1980#issuecomment-1344659534

Before you do anything, can you post your device diagnostic info to be sure that is the same device?

J3ru commented 1 year ago

@J3ru your device is loading the quirk but seems not being working as expected. @Yakie996 have you enabled and configured the local quirk for your device?

To go any forward we need the device logs. Enable the debug logs and look for the logs and attach the relevant info when you operate the device:

2022-12-30 12:34:29.271 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, color_temp_kelvin=2000>
2022-12-30 12:34:29.273 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:29.274 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=13, command_id=1, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:29.275 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request: on()
2022-12-30 12:34:29.275 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=13, profile_id=260, cluster_id=6, data=Serialized[b'\x01\r\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:29.276 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=13), 14, b'\x01\r\x01')
2022-12-30 12:34:29.297 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0062'
2022-12-30 12:34:29.309 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f21504010600010100010000620e0000'
2022-12-30 12:34:29.310 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=98), 14, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:29.330 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010600010140010000b0dcd3f215ffff05080d0b010002'
2022-12-30 12:34:29.330 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=176), 220, -45, 0x15f2, 255, 255, b'\x08\r\x0b\x01\x00']
2022-12-30 12:34:29.330 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=176, profile_id=260, cluster_id=6, data=Serialized[b'\x08\r\x0b\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=220, rssi=-45)
2022-12-30 12:34:29.331 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Received ZCL frame: b'\x08\r\x0b\x01\x00'
2022-12-30 12:34:29.331 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=13, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:29.331 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame: OnOff:Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:29.335 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:29.335 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=15, command_id=10, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:29.335 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request: move_to_color_temp(color_temp_mireds=500, transition_time=0, options_mask=None, options_override=None)
2022-12-30 12:34:29.336 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=15, profile_id=260, cluster_id=768, data=Serialized[b'\x01\x0f\n\xf4\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:29.336 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=15), 16, b'\x01\x0f\n\xf4\x01\x00\x00')
2022-12-30 12:34:29.351 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0063'
2022-12-30 12:34:29.363 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f2150401000301010001000063100000'
2022-12-30 12:34:29.364 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=99), 16, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:29.379 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010003010140010000b1dcd3f215ffff05080f0b0a0002'
2022-12-30 12:34:29.379 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=177), 220, -45, 0x15f2, 255, 255, b'\x08\x0f\x0b\n\x00']
2022-12-30 12:34:29.380 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=177, profile_id=260, cluster_id=768, data=Serialized[b'\x08\x0f\x0b\n\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=220, rssi=-45)
2022-12-30 12:34:29.380 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Received ZCL frame: b'\x08\x0f\x0b\n\x00'
2022-12-30 12:34:29.380 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=15, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:29.380 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame: LidlRGBCCTColorCluster:Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:29.385 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0300]: executed 'move_to_color_temp' command with args: '()' kwargs: '{'color_temp_mireds': 500, 'transition_time': 0}' result: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:29.386 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:29.386 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>), 'move_to_color_temp': Default_Response(command_id=10, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:29.386 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=6535, color_temp=153, hs_color=(54.768, 1.6), rgb_color=(255, 254, 250), xy_color=(0.326, 0.333), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2000, color_temp=500, hs_color=(30.601, 94.547), rgb_color=(255, 136, 13), xy_color=(0.599, 0.382), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:29.479 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2022-12-30 12:34:29.514 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 241 (readCounters) received: b'0302ab002f002d0003000000030003001b0015005700730024000800000007000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2022-12-30 12:34:29.515 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2022-12-30 12:34:29.523 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 170 (getValue) received: b'0001f7'
2022-12-30 12:34:29.524 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 247
2022-12-30 12:34:29.524 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 515, MAC_TX_BROADCAST = 171, MAC_RX_UNICAST = 47, MAC_TX_UNICAST_SUCCESS = 45, MAC_TX_UNICAST_RETRY = 3, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 3, APS_DATA_TX_BROADCAST = 3, APS_DATA_RX_UNICAST = 27, APS_DATA_TX_UNICAST_SUCCESS = 21, APS_DATA_TX_UNICAST_RETRY = 87, APS_DATA_TX_UNICAST_FAILED = 115, ROUTE_DISCOVERY_INITIATED = 36, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 7, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 247]
2022-12-30 12:34:29.639 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:31.063 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, color_temp_kelvin=2242>
2022-12-30 12:34:31.065 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:31.065 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=17, command_id=1, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:31.066 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request: on()
2022-12-30 12:34:31.066 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=17, profile_id=260, cluster_id=6, data=Serialized[b'\x01\x11\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:31.066 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=17), 18, b'\x01\x11\x01')
2022-12-30 12:34:31.093 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0064'
2022-12-30 12:34:31.106 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f2150401060001010001000064120000'
2022-12-30 12:34:31.107 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=100), 18, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:31.126 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010600010140010000b2d8d2f215ffff0508110b010002'
2022-12-30 12:34:31.126 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=178), 216, -46, 0x15f2, 255, 255, b'\x08\x11\x0b\x01\x00']
2022-12-30 12:34:31.127 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=178, profile_id=260, cluster_id=6, data=Serialized[b'\x08\x11\x0b\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:31.127 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Received ZCL frame: b'\x08\x11\x0b\x01\x00'
2022-12-30 12:34:31.127 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=17, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:31.127 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame: OnOff:Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.131 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.131 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=19, command_id=10, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:31.132 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request: move_to_color_temp(color_temp_mireds=446, transition_time=0, options_mask=None, options_override=None)
2022-12-30 12:34:31.132 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=19, profile_id=260, cluster_id=768, data=Serialized[b'\x01\x13\n\xbe\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:31.132 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=19), 20, b'\x01\x13\n\xbe\x01\x00\x00')
2022-12-30 12:34:31.148 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0065'
2022-12-30 12:34:31.161 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f2150401000301010001000065140000'
2022-12-30 12:34:31.161 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=101), 20, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:31.176 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010003010140010000b3d8d2f215ffff0508130b0a0002'
2022-12-30 12:34:31.177 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=179), 216, -46, 0x15f2, 255, 255, b'\x08\x13\x0b\n\x00']
2022-12-30 12:34:31.177 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=179, profile_id=260, cluster_id=768, data=Serialized[b'\x08\x13\x0b\n\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:31.177 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Received ZCL frame: b'\x08\x13\x0b\n\x00'
2022-12-30 12:34:31.177 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=19, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:31.178 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame: LidlRGBCCTColorCluster:Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.181 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0300]: executed 'move_to_color_temp' command with args: '()' kwargs: '{'color_temp_mireds': 446, 'transition_time': 0}' result: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.181 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:31.181 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>), 'move_to_color_temp': Default_Response(command_id=10, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:31.181 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2000, color_temp=500, hs_color=(30.601, 94.547), rgb_color=(255, 136, 13), xy_color=(0.599, 0.382), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2242, color_temp=446, hs_color=(29.65, 82.775), rgb_color=(255, 148, 43), xy_color=(0.575, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:31.423 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, color_temp_kelvin=2517>
2022-12-30 12:34:31.425 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:31.426 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=21, command_id=1, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:31.426 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request: on()
2022-12-30 12:34:31.426 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=21, profile_id=260, cluster_id=6, data=Serialized[b'\x01\x15\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:31.427 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=21), 22, b'\x01\x15\x01')
2022-12-30 12:34:31.444 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0066'
2022-12-30 12:34:31.458 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f2150401060001010001000066160000'
2022-12-30 12:34:31.459 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=102), 22, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:31.480 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010600010140010000b4d8d2f215ffff0508150b010002'
2022-12-30 12:34:31.480 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=180), 216, -46, 0x15f2, 255, 255, b'\x08\x15\x0b\x01\x00']
2022-12-30 12:34:31.480 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=180, profile_id=260, cluster_id=6, data=Serialized[b'\x08\x15\x0b\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:31.481 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Received ZCL frame: b'\x08\x15\x0b\x01\x00'
2022-12-30 12:34:31.481 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=21, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:31.481 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame: OnOff:Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.485 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.485 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=23, command_id=10, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:31.486 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request: move_to_color_temp(color_temp_mireds=397, transition_time=0, options_mask=None, options_override=None)
2022-12-30 12:34:31.486 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=23, profile_id=260, cluster_id=768, data=Serialized[b'\x01\x17\n\x8d\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:31.486 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=23), 24, b'\x01\x17\n\x8d\x01\x00\x00')
2022-12-30 12:34:31.497 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0067'
2022-12-30 12:34:31.511 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f2150401000301010001000067180000'
2022-12-30 12:34:31.512 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=103), 24, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:31.529 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010003010140010000b5d8d2f215ffff0508170b0a0002'
2022-12-30 12:34:31.529 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=181), 216, -46, 0x15f2, 255, 255, b'\x08\x17\x0b\n\x00']
2022-12-30 12:34:31.530 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=181, profile_id=260, cluster_id=768, data=Serialized[b'\x08\x17\x0b\n\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:31.530 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Received ZCL frame: b'\x08\x17\x0b\n\x00'
2022-12-30 12:34:31.530 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=23, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:31.530 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame: LidlRGBCCTColorCluster:Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.534 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0300]: executed 'move_to_color_temp' command with args: '()' kwargs: '{'color_temp_mireds': 397, 'transition_time': 0}' result: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:31.534 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:31.534 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>), 'move_to_color_temp': Default_Response(command_id=10, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:31.535 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2242, color_temp=446, hs_color=(29.65, 82.775), rgb_color=(255, 148, 43), xy_color=(0.575, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:31.789 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:32.125 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1D8C](01MINIZB): Device seen - marking the device available and resetting counter
2022-12-30 12:34:32.125 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1D8C](01MINIZB): Update device availability -  device available: True - new availability: True - changed: False
2022-12-30 12:34:32.568 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, brightness_pct=48>
2022-12-30 12:34:32.570 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:32.571 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=25, command_id=4, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:32.571 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request: move_to_level_with_on_off(level=122, transition_time=0)
2022-12-30 12:34:32.571 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=25, profile_id=260, cluster_id=8, data=Serialized[b'\x01\x19\x04z\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:32.572 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=25), 26, b'\x01\x19\x04z\x00\x00')
2022-12-30 12:34:32.591 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0068'
2022-12-30 12:34:32.605 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f21504010800010100010000681a0000'
2022-12-30 12:34:32.605 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=104), 26, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:32.683 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000b6d8d2f215ffff0508190b040002'
2022-12-30 12:34:32.684 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=182), 216, -46, 0x15f2, 255, 255, b'\x08\x19\x0b\x04\x00']
2022-12-30 12:34:32.684 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=182, profile_id=260, cluster_id=8, data=Serialized[b'\x08\x19\x0b\x04\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:32.684 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x08\x19\x0b\x04\x00'
2022-12-30 12:34:32.684 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=25, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:32.685 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:32.688 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 122, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:32.688 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:32.688 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:32.689 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=51, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=122, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:32.695 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000b7dcd3f215ffff0718050a0000207a02'
2022-12-30 12:34:32.696 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=183), 220, -45, 0x15f2, 255, 255, b'\x18\x05\n\x00\x00 z']
2022-12-30 12:34:32.696 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=183, profile_id=260, cluster_id=8, data=Serialized[b'\x18\x05\n\x00\x00 z'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=220, rssi=-45)
2022-12-30 12:34:32.696 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x18\x05\n\x00\x00 z'
2022-12-30 12:34:32.696 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=5, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:32.696 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=122))])
2022-12-30 12:34:32.697 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received command 0x0A (TSN 5): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=122))])
2022-12-30 12:34:32.697 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Attribute report received: current_level=122
2022-12-30 12:34:32.697 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: received attribute: 0 update with value: 122
2022-12-30 12:34:32.697 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: received level 122 while transitioning - skipping update
2022-12-30 12:34:32.939 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:34.232 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, brightness_pct=15>
2022-12-30 12:34:34.234 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:34.235 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=27, command_id=4, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:34.235 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request: move_to_level_with_on_off(level=38, transition_time=0)
2022-12-30 12:34:34.235 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=27, profile_id=260, cluster_id=8, data=Serialized[b'\x01\x1b\x04&\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:34.235 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=27), 28, b'\x01\x1b\x04&\x00\x00')
2022-12-30 12:34:34.267 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0069'
2022-12-30 12:34:34.277 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f21504010800010100010000691c0000'
2022-12-30 12:34:34.278 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=105), 28, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:34.356 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000b8d8d2f215ffff05081b0b040002'
2022-12-30 12:34:34.357 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=184), 216, -46, 0x15f2, 255, 255, b'\x08\x1b\x0b\x04\x00']
2022-12-30 12:34:34.357 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=184, profile_id=260, cluster_id=8, data=Serialized[b'\x08\x1b\x0b\x04\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:34.357 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x08\x1b\x0b\x04\x00'
2022-12-30 12:34:34.358 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=27, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:34.358 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:34.361 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 38, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:34.361 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:34.361 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:34.361 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=122, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=38, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:34.368 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000b9dcd3f215ffff0718060a0000202602'
2022-12-30 12:34:34.368 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=185), 220, -45, 0x15f2, 255, 255, b'\x18\x06\n\x00\x00 &']
2022-12-30 12:34:34.368 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=185, profile_id=260, cluster_id=8, data=Serialized[b'\x18\x06\n\x00\x00 &'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=220, rssi=-45)
2022-12-30 12:34:34.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x18\x06\n\x00\x00 &'
2022-12-30 12:34:34.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=6, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:34.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=38))])
2022-12-30 12:34:34.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received command 0x0A (TSN 6): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=38))])
2022-12-30 12:34:34.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Attribute report received: current_level=38
2022-12-30 12:34:34.370 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: received attribute: 0 update with value: 38
2022-12-30 12:34:34.370 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: received level 38 while transitioning - skipping update
2022-12-30 12:34:34.614 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:35.090 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, brightness_pct=32>
2022-12-30 12:34:35.092 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:35.092 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=29, command_id=4, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:35.092 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Sending request: move_to_level_with_on_off(level=82, transition_time=0)
2022-12-30 12:34:35.093 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=29, profile_id=260, cluster_id=8, data=Serialized[b'\x01\x1d\x04R\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:35.093 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=29), 30, b'\x01\x1d\x04R\x00\x00')
2022-12-30 12:34:35.126 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'006a'
2022-12-30 12:34:35.138 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f215040108000101000100006a1e0000'
2022-12-30 12:34:35.138 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=106), 30, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:35.183 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000bad8d2f215ffff05081d0b040002'
2022-12-30 12:34:35.184 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=186), 216, -46, 0x15f2, 255, 255, b'\x08\x1d\x0b\x04\x00']
2022-12-30 12:34:35.184 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=186, profile_id=260, cluster_id=8, data=Serialized[b'\x08\x1d\x0b\x04\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:35.185 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x08\x1d\x0b\x04\x00'
2022-12-30 12:34:35.185 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=29, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:35.185 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:35.189 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 82, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:35.189 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:35.189 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:35.189 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=38, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=82, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:35.368 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010800010140010000bbd8d2f215ffff0718070a0000205202'
2022-12-30 12:34:35.369 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=187), 216, -46, 0x15f2, 255, 255, b'\x18\x07\n\x00\x00 R']
2022-12-30 12:34:35.369 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=187, profile_id=260, cluster_id=8, data=Serialized[b'\x18\x07\n\x00\x00 R'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:35.369 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received ZCL frame: b'\x18\x07\n\x00\x00 R'
2022-12-30 12:34:35.370 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=7, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:35.370 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Decoded ZCL frame: LevelControl:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=82))])
2022-12-30 12:34:35.370 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Received command 0x0A (TSN 7): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=82))])
2022-12-30 12:34:35.371 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0008] Attribute report received: current_level=82
2022-12-30 12:34:35.371 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0008]: received attribute: 0 update with value: 82
2022-12-30 12:34:35.371 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: received level 82 while transitioning - skipping update
2022-12-30 12:34:35.440 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:36.989 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.lamp_overloop_zolder_light, color_temp_kelvin=2210>
2022-12-30 12:34:36.991 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: setting transitioning flag to True
2022-12-30 12:34:36.991 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=31, command_id=1, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:36.992 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Sending request: on()
2022-12-30 12:34:36.992 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=31, profile_id=260, cluster_id=6, data=Serialized[b'\x01\x1f\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:36.992 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=31), 32, b'\x01\x1f\x01')
2022-12-30 12:34:37.010 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'006b'
2022-12-30 12:34:37.022 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f215040106000101000100006b200000'
2022-12-30 12:34:37.023 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=107), 32, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:37.044 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010600010140010000bcd8d2f215ffff05081f0b010002'
2022-12-30 12:34:37.044 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=188), 216, -46, 0x15f2, 255, 255, b'\x08\x1f\x0b\x01\x00']
2022-12-30 12:34:37.045 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=188, profile_id=260, cluster_id=6, data=Serialized[b'\x08\x1f\x0b\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:37.045 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Received ZCL frame: b'\x08\x1f\x0b\x01\x00'
2022-12-30 12:34:37.045 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=31, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:37.045 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0006] Decoded ZCL frame: OnOff:Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:37.048 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:37.049 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=33, command_id=10, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-30 12:34:37.049 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Sending request: move_to_color_temp(color_temp_mireds=452, transition_time=0, options_mask=None, options_override=None)
2022-12-30 12:34:37.050 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), dst_ep=1, source_route=None, extended_timeout=False, tsn=33, profile_id=260, cluster_id=768, data=Serialized[b'\x01!\n\xc4\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-12-30 12:34:37.050 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x15f2, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=33), 34, b'\x01!\n\xc4\x01\x00\x00')
2022-12-30 12:34:37.063 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'006c'
2022-12-30 12:34:37.074 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'00f215040100030101000100006c220000'
2022-12-30 12:34:37.075 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 5618, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=108), 34, <EmberStatus.SUCCESS: 0>, b'']
2022-12-30 12:34:37.092 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'0004010003010140010000bdd8d2f215ffff0508210b0a0002'
2022-12-30 12:34:37.092 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=768, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=189), 216, -46, 0x15f2, 255, 255, b'\x08!\x0b\n\x00']
2022-12-30 12:34:37.092 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x15F2), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=189, profile_id=260, cluster_id=768, data=Serialized[b'\x08!\x0b\n\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
2022-12-30 12:34:37.093 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Received ZCL frame: b'\x08!\x0b\n\x00'
2022-12-30 12:34:37.093 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=33, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-30 12:34:37.093 DEBUG (MainThread) [zigpy.zcl] [0x15F2:1:0x0300] Decoded ZCL frame: LidlRGBCCTColorCluster:Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:37.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x15F2:1:0x0300]: executed 'move_to_color_temp' command with args: '()' kwargs: '{'color_temp_mireds': 452, 'transition_time': 0}' result: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-30 12:34:37.097 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: starting transitioning timer for 0.25
2022-12-30 12:34:37.097 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>), 'move_to_color_temp': Default_Response(command_id=10, status=<Status.SUCCESS: 0>)}
2022-12-30 12:34:37.097 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.lamp_overloop_zolder_light, old_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=82, color_temp_kelvin=2518, color_temp=397, hs_color=(28.827, 71.874), rgb_color=(255, 159, 71), xy_color=(0.546, 0.389), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>, new_state=<state light.lamp_overloop_zolder_light=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=82, color_temp_kelvin=2212, color_temp=452, hs_color=(29.754, 84.103), rgb_color=(255, 146, 40), xy_color=(0.579, 0.387), off_with_transition=False, off_brightness=None, friendly_name=Lamp overloop zolder Light, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2022-12-30T12:33:06.435285+01:00>>
2022-12-30 12:34:37.348 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lamp_overloop_zolder_light: transition complete - future attribute reports will write HA state
2022-12-30 12:34:39.525 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2022-12-30 12:34:39.551 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 241 (readCounters) received: b'0502ab003b004200030000000300030027001e005700730024000800000007000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2022-12-30 12:34:39.552 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2022-12-30 12:34:39.562 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 170 (getValue) received: b'0001f7'
2022-12-30 12:34:39.562 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 247
2022-12-30 12:34:39.562 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 517, MAC_TX_BROADCAST = 171, MAC_RX_UNICAST = 59, MAC_TX_UNICAST_SUCCESS = 66, MAC_TX_UNICAST_RETRY = 3, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 3, APS_DATA_TX_BROADCAST = 3, APS_DATA_RX_UNICAST = 39, APS_DATA_TX_UNICAST_SUCCESS = 30, APS_DATA_TX_UNICAST_RETRY = 87, APS_DATA_TX_UNICAST_FAILED = 115, ROUTE_DISCOVERY_INITIATED = 36, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 7, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 247]
2022-12-30 12:34:40.002 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=above_horizon; next_dawn=2022-12-31T07:00:21.372603+00:00, next_dusk=2022-12-30T16:09:39.664388+00:00, next_midnight=2022-12-30T23:35:23+00:00, next_noon=2022-12-30T11:34:40+00:00, next_rising=2022-12-31T07:42:03.981151+00:00, next_setting=2022-12-30T15:27:52.534516+00:00, elevation=14.7, azimuth=179.13, rising=True, friendly_name=Sun @ 2022-12-30T12:31:15.724361+01:00>, new_state=<state sun.sun=above_horizon; next_dawn=2022-12-31T07:00:21.372603+00:00, next_dusk=2022-12-30T16:09:39.664388+00:00, next_midnight=2022-12-30T23:35:23+00:00, next_noon=2022-12-31T11:35:09+00:00, next_rising=2022-12-31T07:42:03.981151+00:00, next_setting=2022-12-30T15:27:52.534516+00:00, elevation=14.71, azimuth=179.94, rising=False, friendly_name=Sun @ 2022-12-30T12:31:15.724361+01:00>>
RafaelSchridi commented 1 year ago

I was finally able to test the quirk but unfortunately it doesn't work.

Device info does show the quirk in use:

Quirk: rgbcct.DimmableLamp

The only thing related to ZHA in the logs is

Logger: zigpy.device
Source: runner.py:120
First occurred: 18:32:44 (4 occurrences)
Last logged: 18:32:44

Failed to parse message (b'8184018b') on cluster 32799, because Data is too short to contain 1 bytes

and

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 18:32:39 (26 occurrences)
Last logged: 18:32:45

[0xB1F0:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0xCCB0:2:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0xB1F0:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0xCCB0:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0x3476:3:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
RafaelSchridi commented 1 year ago

I've been looking around, and I don't think this device can change colour temperature. Here is an issues discussing the device with Z2M: https://github.com/Koenkk/zigbee2mqtt/issues/14439

Which would make it a really odd device, I've never seen a light that does RGB but not colour temp. Is it even possible to disable colour temp control in HA and still have RGB control?

EDIT: if you look on the box it has ranges for RGB and colour temp but on the colour temp range there is an arrow that indicated it only does 4000k. Man that is some dirty marketing and has a lot of people confused it seems.

javicalle commented 1 year ago

It seems that device 'just' allow to turn on and off the white leds when color temp called. In Z2M seems that are keeping the control to allow enable the white leds. So if the temp color control is disabled maybe you could not turn on the white leds.

RafaelSchridi commented 1 year ago

Ah that is an annoying requirement, is it possible to just limit the colour range to 4000k-4000k?

javicalle commented 1 year ago

Ah that is an annoying requirement, is it possible to just limit the colour range to 4000k-4000k?

Ummm, maybe with:


class Lidl4000KColorCluster(CustomCluster, Color):
    """Lidl RGB+4000K Lighting custom cluster."""

    # Set correct capabilities to ct, xy, hs
    # LIDL bulbs do not correctly report this attribute (comes back as None in Home Assistant)
    _CONSTANT_ATTRIBUTES = {
        0x400A: 0b11001,
        0x400B: 306,  # color_temp_physical_min
        0x400C: 306,  # color_temp_physical_max
    }

Add that class in file (upper than the device definition). Then use the new class in the replacement part for your device:

    replacement = {
        ENDPOINTS: {
            1: {
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    LevelControl.cluster_id,
                    Lidl4000KColorCluster,
                    LightLink.cluster_id,
                    TuyaNewManufCluster,
                ],

Save changes, restart HA. Not sure if re-pair the device will be needed. Check the attribute values in the device diagnostic or manage cluster form.

MattWestb commented 1 year ago

Off topic but curious: The IKEA first gen CWS (or its pre first gen then its having one not IKEA standard Zigbee module) was RGB + W and was emulating TC and is working OK but not good then its so bright in all modes.

J3ru commented 1 year ago

I've been looking around, and I don't think this device can change colour temperature. Here is an issues discussing the device with Z2M: Koenkk/zigbee2mqtt#14439

Which would make it a really odd device, I've never seen a light that does RGB but not colour temp. Is it even possible to disable colour temp control in HA and still have RGB control?

EDIT: if you look on the box it has ranges for RGB and colour temp but on the colour temp range there is an arrow that indicated it only does 4000k. Man that is some dirty marketing and has a lot of people confused it seems.

So chances are that its locked at 4000k, but what I then don't get is why are other colors way more dimm than the "normal" white light? And yes they totally got me with this, I mean it can do RGB but not variants of white which is I dare say the standard?

RafaelSchridi commented 1 year ago

They're probably separate led strips, get some highpower single color white strips so they can put 3000 lumens on the box and then seperate RGB so people think they can do both at the same time.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.