Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Device Support Request] TS011F _TZ3000_cfnprab5 (XENON 4AC+2USB power strip) #1632

Closed
tim-geier opened this issue Jun 24, 2022 · 56 comments
Closed
Labels
custom quirk available A custom quirk is available to solve the issue, but it's not merged in the repo yet Tuya Request/PR regarding a Tuya device

Comments

@tim-geier
Copy link

Is your feature request related to a problem? Please describe.
I have bought this power strip from amazon, it should be working with zha (according to https://zigbee.blakadder.com/Xenon_SM-SO306.html but the sockets cannot be controlled. The device can be added to Home Assistant and the setup wizard shows that everything went fine and that the device can be used. The five switches get recognized but the device does not respond at all. The "Last seen" timestamp in Home Assistant also never changes from the time I pair the device.
The only difference I could spot is my model has an additional "-EZ". The supported device is model SM-SO306, I received the model SM-SO306-EZ, but I dont know whats the difference (if there is one) and how to get it working.
I think it needs to use something like the quirk for "ts011f.Plug_4AC_2USB", since thats basically the device I have, but something does not match. My device looks exactly like the one pictured in #1106.

Describe the solution you'd like
Would be nice if my power strip could be controlled like intended or somebody could tell me what I'm doing wrong.

Device 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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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": "0x010a",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe000",
        "0xe001"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "2": {
      "profile_id": 260,
      "device_type": "0x010a",
      "in_clusters": [
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe001"
      ],
      "out_clusters": []
    },
    "3": {
      "profile_id": 260,
      "device_type": "0x010a",
      "in_clusters": [
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe001"
      ],
      "out_clusters": []
    },
    "4": {
      "profile_id": 260,
      "device_type": "0x010a",
      "in_clusters": [
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe001"
      ],
      "out_clusters": []
    },
    "5": {
      "profile_id": 260,
      "device_type": "0x010a",
      "in_clusters": [
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe001"
      ],
      "out_clusters": []
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3000_cfnprab5",
  "model": "TS011F",
  "class": "zigpy.device.Device"
}
Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.6.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.12",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.15.45",
    "supervisor": "2022.05.3",
    "host_os": "Home Assistant OS 8.2",
    "docker_version": "20.10.14",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "alexa_media": {
      "version": "4.0.2",
      "requirements": [
        "alexapy==1.26.0",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "hacs": {
      "version": "1.25.5",
      "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.30.0",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.75",
      "zigpy-deconz==0.16.0",
      "zigpy==0.45.1",
      "zigpy-xbee==0.14.0",
      "zigpy-zigate==0.7.4",
      "zigpy-znp==0.7.0"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "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"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      }
    ],
    "after_dependencies": [
      "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": 17530,
    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4417,
    "power_source": "Mains",
    "lqi": 248,
    "rssi": -87,
    "last_seen": "2022-06-24T19:53:44",
    "available": true,
    "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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe000",
            "0xe001"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        },
        "2": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "3": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "4": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "5": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "242": {
          "profile_id": 41440,
          "device_type": "0x0061",
          "in_clusters": [],
          "out_clusters": [
            "0x0021"
          ]
        }
      }
    },
    "entities": [
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_d7414436_on_off",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_d7414436_on_off_2",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_d7414436_on_off_3",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_d7414436_on_off_4",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_d7414436_on_off_5",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "button.tz3000_cfnprab5_ts011f_d7414436_identify",
        "name": "_TZ3000_cfnprab5 TS011F"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "unknown 97 device_type of 0xa1e0 profile id"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "a5810d76391e9ba0b41d40a56ed441cd",
    "area_id": null
  }
}
Additional logs (pairing)

See attached file, body was too long if pasted in here...
Pairing_log.txt

@MattWestb
Copy link
Contributor

Your device is nearly the same its not having one extra cluster that is missing on some endpoints.

TuyaZBE000Cluster.cluster_id,

Deleting the missing extra cluster in the signature and replace on the endpoints in one local quirk and testing if ZHA is loading the quirk.

@javicalle
Copy link
Collaborator

javicalle commented Jun 24, 2022

Try with a quirk like this one:

Plug_4AC_2USB_xenon(EnchantedDevice)
"""TS011F plug."""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaNewManufCluster,
    TuyaZBE000Cluster,
    TuyaZBElectricalMeasurement,
    TuyaZBExternalSwitchTypeCluster,
    TuyaZBMeteringCluster,
    TuyaZBOnOffAttributeCluster,
)
from zhaquirks.tuya.mcu import EnchantedDevice


class Plug_4AC_2USB_xenon(EnchantedDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=[0, 3, 4, 5, 6, 57344, 57345]
            # output_clusters=[10, 25]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            # <SimpleDescriptor endpoint=2 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=3 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=4 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=5 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=242 profile=41440 device_type=97
            # device_version=1
            # input_clusters=[]
            # output_clusters=[33]>
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBE000Cluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

@tim-geier
Copy link
Author

Thank you both for the quick reply, I tried @javicalle quirk, but in the pairing log there is an error

Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Full log
[0xE612](lumi.sensor_magnet.aq2): Device seen - marking the device available and resetting counter
[0xE612](lumi.sensor_magnet.aq2): Update device availability -  device available: True - new availability: True - changed: False
New device 0xc8b7 (a4:c1:38:84:36:44:41:d7) joined the network
[0xc8b7] Scheduling initialization
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x00\xb7\xc8\xd7AD6\x848\xc1\xa4\x8e'
[0xc8b7:zdo] ZDO request ZDOCmd.Device_annce: [0xC8B7, a4:c1:38:84:36:44:41:d7, 142]
Tries remaining: 3
[0xc8b7] Requesting 'Node Descriptor'
Tries remaining: 2
[0xc8b7] Extending timeout for 0x1b request
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x1b\x00\xb7\xc8\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0xc8b7] Got 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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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)
[0xc8b7] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x1d\x00\xb7\xc8\x06\x01\x02\x03\x04\x05\xf2'
[0xc8b7] Discovered endpoints: [1, 2, 3, 4, 5, 242]
[0xc8b7] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=2 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=3 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=4 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=5 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0xc8b7:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x1f\x00\xb7\xc8\x1a\x01\x04\x01\n\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00'
[0xc8b7:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10])
Unknown cluster 0xE000
Unknown cluster 0xE001
[0xc8b7:2] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'!\x00\xb7\xc8\x10\x02\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xc8b7:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xc8b7:3] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'#\x00\xb7\xc8\x10\x03\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xc8b7:3] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=3, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xc8b7:4] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'%\x00\xb7\xc8\x10\x04\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xc8b7:4] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=4, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xc8b7:5] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b"'\x00\xb7\xc8\x10\x05\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00"
[0xc8b7:5] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=5, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xc8b7:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b')\x00\xb7\xc8\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0xc8b7:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0xC8B7:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=43, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
[0xC8B7:1:0x0000] Received ZCL frame: b'\x18+\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F'
[0xC8B7:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=43, command_id=1, *is_reply=True)
[0xC8B7:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F'))])
[0xc8b7] Read model 'TS011F' and manufacturer '_TZ3000_cfnprab5' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, None:0xE000, None:0xE001, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0xc8b7] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xC8B7 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'ts011f.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'ts011f.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4, 5, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
'button' component -> 'ZHAIdentifyButton' using ['identify']
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
device - 0xC8B7:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: True
device - 0xC8B7:a4:c1:38:84:36:44:41:d7 has joined the ZHA zigbee network
[0xC8B7](TS011F): started configuration
[0xC8B7:ZDO](TS011F): 'async_configure' stage succeeded
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 4, '_TZ3000_cfnprab5') params: FOREIGN KEY constraint failed
[0xC8B7:1:0x0006]: Performing cluster binding
[0xC8B7:1:0x0003]: Configuring cluster attribute reporting
[0xC8B7:1:0x0003]: finished channel configuration
[0xC8B7:1:0x0000]: Configuring cluster attribute reporting
[0xC8B7:1:0x0000]: finished channel configuration
[0xC8B7:1:0x0019]: finished channel configuration
[0xC8B7:2:0x0006]: Performing cluster binding
[0xC8B7:3:0x0006]: Performing cluster binding
[0xC8B7:4:0x0006]: Performing cluster binding
[0xC8B7:5:0x0006]: Performing cluster binding
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
[0xC8B7:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xC8B7:1:0x0006]: Configuring cluster attribute reporting
[0xC8B7:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=55, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xC8B7:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xc8b7] Delivery error for seq # 0x35, on endpoint id 0 cluster 0x0021: message send failure
[0xC8B7:5:0x0006]: Failed to bind 'on_off' cluster: [0xc8b7:0:0x0021]: Message send failure
[0xC8B7:5:0x0006]: Configuring cluster attribute reporting
[0xC8B7:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=57, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xC8B7:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xc8b7] Delivery error for seq # 0x37, on endpoint id 1 cluster 0x0006: message send failure
[0xC8B7:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0xc8b7:1:0x0006]: Message send failure
[0xC8B7:1:0x0006]: finished channel configuration
[0xC8B7:1:0x0006]: 'async_configure' stage succeeded
[0xC8B7:1:0x0003]: 'async_configure' stage succeeded
[0xC8B7:1:0x0000]: 'async_configure' stage succeeded
[0xC8B7:1:0x0019]: 'async_configure' stage succeeded
[0xC8B7:2:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xC8B7:2:0x0006]: Configuring cluster attribute reporting
[0xC8B7:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=59, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xC8B7:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xC8B7:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xC8B7:3:0x0006]: Configuring cluster attribute reporting
[0xC8B7:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=61, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xC8B7:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xC8B7:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xC8B7:4:0x0006]: Configuring cluster attribute reporting
[0xC8B7:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=63, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xC8B7:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xc8b7:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0xC8B7:5:0x0006] Received ZCL frame: b'\x189\x07\x00\x00\x00\x00'
[0xC8B7:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=57, command_id=7, *is_reply=True)
[0xC8B7:5:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xC8B7:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xC8B7:5:0x0006]: finished channel configuration
[0xC8B7:5:0x0006]: 'async_configure' stage succeeded
[0xC8B7:2:0x0006] Received ZCL frame: b'\x18;\x07\x00\x00\x00\x00'
[0xC8B7:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=59, command_id=7, *is_reply=True)
[0xC8B7:2:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xC8B7:2:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xC8B7:2:0x0006]: finished channel configuration
[0xC8B7:2:0x0006]: 'async_configure' stage succeeded
[0xC8B7:3:0x0006] Received ZCL frame: b'\x18=\x07\x00\x00\x00\x00'
[0xC8B7:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=61, command_id=7, *is_reply=True)
[0xC8B7:3:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xC8B7:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xC8B7:3:0x0006]: finished channel configuration
[0xC8B7:3:0x0006]: 'async_configure' stage succeeded
[0xC8B7:4:0x0006] Received ZCL frame: b'\x18?\x07\x00\x00\x00\x00'
[0xC8B7:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=63, command_id=7, *is_reply=True)
[0xC8B7:4:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xC8B7:4:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xC8B7:4:0x0006]: finished channel configuration
[0xC8B7:4:0x0006]: 'async_configure' stage succeeded
[0xC8B7](TS011F): completed configuration
[0xC8B7](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656098544.978675)
[0xC8B7:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=65, command_id=64, *is_reply=False)
[0xC8B7:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0xc8b7:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xC8B7:1:0x0003] Received ZCL frame: b'\x18A\x0b@\x00'
[0xC8B7:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=65, command_id=11, *is_reply=True)
[0xC8B7:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xC8B7:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xC8B7](TS011F): started initialization
[0xC8B7:ZDO](TS011F): 'async_initialize' stage succeeded
[0xC8B7:1:0x0006]: initializing channel: from_cache: False
[0xC8B7:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=67, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:1:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:1:0x0003]: initializing channel: from_cache: False
[0xC8B7:1:0x0003]: finished channel initialization
[0xC8B7:1:0x0000]: initializing channel: from_cache: False
[0xC8B7:1:0x0000]: finished channel initialization
[0xC8B7:1:0x0019]: initializing channel: from_cache: False
[0xC8B7:1:0x0019]: finished channel initialization
[0xC8B7:2:0x0006]: initializing channel: from_cache: False
[0xC8B7:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:2:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:3:0x0006]: initializing channel: from_cache: False
[0xC8B7:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=71, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:3:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:4:0x0006]: initializing channel: from_cache: False
[0xC8B7:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=73, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:4:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:5:0x0006]: initializing channel: from_cache: False
[0xC8B7:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:1:0x0006] Received ZCL frame: b'\x18C\x01\x03@\x86'
[0xC8B7:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=67, command_id=1, *is_reply=True)
[0xC8B7:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xC8B7:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xC8B7:1:0x0006]: Reading attributes in chunks: ['on_off']
[0xC8B7:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xC8B7:2:0x0006] Received ZCL frame: b'\x18E\x01\x03@\x86'
[0xC8B7:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=1, *is_reply=True)
[0xC8B7:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xC8B7:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xC8B7:2:0x0006]: Reading attributes in chunks: ['on_off']
[0xC8B7:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=79, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xC8B7:3:0x0006] Received ZCL frame: b'\x18G\x01\x03@\x86'
[0xC8B7:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=71, command_id=1, *is_reply=True)
[0xC8B7:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xC8B7:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xC8B7:3:0x0006]: Reading attributes in chunks: ['on_off']
[0xC8B7:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xC8B7:5:0x0006] Received ZCL frame: b'\x18K\x01\x03@\x86'
[0xC8B7:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=1, *is_reply=True)
[0xC8B7:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xC8B7:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xC8B7:5:0x0006]: Reading attributes in chunks: ['on_off']
[0xC8B7:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xC8B7:1:0x0006] Received ZCL frame: b'\x18M\x01\x00\x00\x00\x10\x01'
[0xC8B7:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=1, *is_reply=True)
[0xC8B7:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xC8B7:1:0x0006]: finished channel initialization
[0xC8B7:1:0x0006]: 'async_initialize' stage succeeded
[0xC8B7:1:0x0003]: 'async_initialize' stage succeeded
[0xC8B7:1:0x0000]: 'async_initialize' stage succeeded
[0xC8B7:1:0x0019]: 'async_initialize' stage succeeded
[0xC8B7:2:0x0006] Received ZCL frame: b'\x18O\x01\x00\x00\x00\x10\x01'
[0xC8B7:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=79, command_id=1, *is_reply=True)
[0xC8B7:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xC8B7:2:0x0006]: finished channel initialization
[0xC8B7:2:0x0006]: 'async_initialize' stage succeeded
[0xC8B7:3:0x0006] Received ZCL frame: b'\x18Q\x01\x00\x00\x00\x10\x01'
[0xC8B7:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=1, *is_reply=True)
[0xC8B7:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xC8B7:3:0x0006]: finished channel initialization
[0xC8B7:3:0x0006]: 'async_initialize' stage succeeded
[0xC8B7:5:0x0006] Received ZCL frame: b'\x18S\x01\x00\x00\x00\x10\x01'
[0xC8B7:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=1, *is_reply=True)
[0xC8B7:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xC8B7:5:0x0006]: finished channel initialization
[0xC8B7:5:0x0006]: 'async_initialize' stage succeeded
[0xc8b7:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0xc8b7:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xC8B7:4:0x0006]: failed to get attributes '['start_up_on_off']' on 'on_off' cluster: 
[0xC8B7:4:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 1.0s
[0xC8B7:4:0x0006]: initializing channel: from_cache: False
[0xC8B7:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xC8B7:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xC8B7:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:4:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xC8B7:4:0x0006] Received ZCL frame: b'\x18U\x01\x03@\x86'
[0xC8B7:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=1, *is_reply=True)
[0xC8B7:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xC8B7:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xC8B7:4:0x0006]: Reading attributes in chunks: ['on_off']
[0xC8B7:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=87, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xC8B7:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xC8B7:4:0x0006] Received ZCL frame: b'\x18W\x01\x00\x00\x00\x10\x01'
[0xC8B7:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=87, command_id=1, *is_reply=True)
[0xC8B7:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xC8B7:4:0x0006]: finished channel initialization
[0xC8B7:4:0x0006]: 'async_initialize' stage succeeded
[0xC8B7](TS011F): power source: Mains
[0xC8B7](TS011F): completed initialization
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
[0x0000](ConBee II): Device seen - marking the device available and resetting counter
[0x0000](ConBee II): Update device availability -  device available: True - new availability: True - changed: False
[0xc8b7:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xc8b7:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xc8b7:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x0000](ConBee II): Device seen - marking the device available and resetting counter
[0x0000](ConBee II): Update device availability -  device available: True - new availability: True - changed: False
Device 0x2953 (a4:c1:38:84:36:44:41:d7) joined the network
Device a4:c1:38:84:36:44:41:d7 changed id (0x2953 => 0x2953)
[0x2953] Skipping initialization, device is fully initialized
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x2953 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'ts011f.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'ts011f.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'ts011f.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4, 5, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
[0x2953:zdo] ZDO request ZDOCmd.Device_annce: [0x2953, a4:c1:38:84:36:44:41:d7, 142]
device - 10579:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: False
device - 10579:a4:c1:38:84:36:44:41:d7 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 10579:a4:c1:38:84:36:44:41:d7
[10579](TS011F): started configuration
[10579:ZDO](TS011F): 'async_configure' stage succeeded
[10579:1:0x0006]: Performing cluster binding
[10579:1:0x0003]: Configuring cluster attribute reporting
[10579:1:0x0003]: finished channel configuration
[10579:1:0x0000]: Configuring cluster attribute reporting
[10579:1:0x0000]: finished channel configuration
[10579:1:0x0019]: finished channel configuration
[10579:2:0x0006]: Performing cluster binding
[10579:3:0x0006]: Performing cluster binding
[10579:4:0x0006]: Performing cluster binding
[10579:5:0x0006]: Performing cluster binding
[0x2953] Delivery error for seq # 0x5b, on endpoint id 0 cluster 0x0021: message send failure
[10579:2:0x0006]: Failed to bind 'on_off' cluster: [0x2953:0:0x0021]: Message send failure
[10579:2:0x0006]: Configuring cluster attribute reporting
[0x2953:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=99, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x2953:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x2953] Delivery error for seq # 0x5f, on endpoint id 0 cluster 0x0021: message send failure
[10579:4:0x0006]: Failed to bind 'on_off' cluster: [0x2953:0:0x0021]: Message send failure
[10579:4:0x0006]: Configuring cluster attribute reporting
[0x2953:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x2953:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[10579:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[10579:1:0x0006]: Configuring cluster attribute reporting
[0x2953:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=103, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x2953:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x2953:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x2953] Delivery error for seq # 0x63, on endpoint id 2 cluster 0x0006: message send failure
[10579:2:0x0006]: failed to set reporting on 'on_off' cluster for: [0x2953:2:0x0006]: Message send failure
[10579:2:0x0006]: finished channel configuration
[10579:2:0x0006]: 'async_configure' stage succeeded
[0x2953] Delivery error for seq # 0x65, on endpoint id 4 cluster 0x0006: message send failure
[10579:4:0x0006]: failed to set reporting on 'on_off' cluster for: [0x2953:4:0x0006]: Message send failure
[10579:4:0x0006]: finished channel configuration
[10579:4:0x0006]: 'async_configure' stage succeeded
[0x2953] Delivery error for seq # 0x67, on endpoint id 1 cluster 0x0006: message send failure
[10579:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0x2953:1:0x0006]: Message send failure
[10579:1:0x0006]: finished channel configuration
[10579:1:0x0006]: 'async_configure' stage succeeded
[10579:1:0x0003]: 'async_configure' stage succeeded
[10579:1:0x0000]: 'async_configure' stage succeeded
[10579:1:0x0019]: 'async_configure' stage succeeded
[10579:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[10579:3:0x0006]: Configuring cluster attribute reporting
[0x2953:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=105, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x2953:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x2953:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[10579:5:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[10579:5:0x0006]: Configuring cluster attribute reporting
[0x2953:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x2953:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x2953:4:0x0006] Received ZCL frame: b'\x18e\x07\x00\x00\x00\x00'
[0x2953:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=7, *is_reply=True)
[0x2953:4:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x2953:4:0x0006] Received command 0x07 (TSN 101): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x2953:1:0x0006] Received ZCL frame: b'\x18g\x07\x00\x00\x00\x00'
[0x2953:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=103, command_id=7, *is_reply=True)
[0x2953:1:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x2953:1:0x0006] Received command 0x07 (TSN 103): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x2953:3:0x0006] Received ZCL frame: b'\x18i\x07\x00\x00\x00\x00'
[0x2953:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=105, command_id=7, *is_reply=True)
[0x2953:3:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[10579:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[10579:3:0x0006]: finished channel configuration
[10579:3:0x0006]: 'async_configure' stage succeeded
[0x2953:5:0x0006] Received ZCL frame: b'\x18k\x07\x00\x00\x00\x00'
[0x2953:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=7, *is_reply=True)
[0x2953:5:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[10579:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[10579:5:0x0006]: finished channel configuration
[10579:5:0x0006]: 'async_configure' stage succeeded
[10579](TS011F): completed configuration
[10579](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656098569.566195)
[0x2953:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=109, command_id=64, *is_reply=False)
[0x2953:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x2953:1:0x0003] Received ZCL frame: b'\x18m\x0b@\x00'
[0x2953:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=109, command_id=11, *is_reply=True)
[0x2953:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[10579:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[10579](TS011F): Update device availability -  device available: False - new availability: True - changed: True
[10579](TS011F): Device availability changed and device became available, reinitializing channels
[10579](TS011F): started initialization
[10579:ZDO](TS011F): 'async_initialize' stage succeeded
[10579:1:0x0006]: initializing channel: from_cache: False
[10579:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:1:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=111, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[10579:1:0x0003]: initializing channel: from_cache: False
[10579:1:0x0003]: finished channel initialization
[10579:1:0x0000]: initializing channel: from_cache: False
[10579:1:0x0000]: finished channel initialization
[10579:1:0x0019]: initializing channel: from_cache: False
[10579:1:0x0019]: finished channel initialization
[10579:2:0x0006]: initializing channel: from_cache: False
[10579:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:2:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[10579:3:0x0006]: initializing channel: from_cache: False
[10579:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=115, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[10579:4:0x0006]: initializing channel: from_cache: False
[10579:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:4:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=117, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[10579:5:0x0006]: initializing channel: from_cache: False
[10579:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=119, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x2953:1:0x0006] Received ZCL frame: b'\x18o\x01\x00\x00\x00\x10\x01'
[0x2953:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=111, command_id=1, *is_reply=True)
[0x2953:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[10579:1:0x0006]: finished channel initialization
[10579:1:0x0006]: 'async_initialize' stage succeeded
[10579:1:0x0003]: 'async_initialize' stage succeeded
[10579:1:0x0000]: 'async_initialize' stage succeeded
[10579:1:0x0019]: 'async_initialize' stage succeeded
[0x2953:2:0x0006] Received ZCL frame: b'\x18q\x01\x00\x00\x00\x10\x01'
[0x2953:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=1, *is_reply=True)
[0x2953:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[10579:2:0x0006]: finished channel initialization
[10579:2:0x0006]: 'async_initialize' stage succeeded
[0x2953:3:0x0006] Received ZCL frame: b'\x18s\x01\x00\x00\x00\x10\x01'
[0x2953:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=115, command_id=1, *is_reply=True)
[0x2953:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[10579:3:0x0006]: finished channel initialization
[10579:3:0x0006]: 'async_initialize' stage succeeded
[0x2953:4:0x0006] Received ZCL frame: b'\x18u\x01\x00\x00\x00\x10\x01'
[0x2953:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=117, command_id=1, *is_reply=True)
[0x2953:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[10579:4:0x0006]: finished channel initialization
[10579:4:0x0006]: 'async_initialize' stage succeeded
[0x2953:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x2953:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x2953:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x2953:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[10579:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[10579:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 0.8s
[0x2953:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x2953:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[10579:5:0x0006]: initializing channel: from_cache: False
[10579:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[10579:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[10579:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[10579:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x2953:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=121, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x2953:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x2953:5:0x0006] Received ZCL frame: b'\x18y\x01\x00\x00\x00\x10\x01'
[0x2953:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=121, command_id=1, *is_reply=True)
[0x2953:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[10579:5:0x0006]: finished channel initialization
[10579:5:0x0006]: 'async_initialize' stage succeeded
[10579](TS011F): power source: Mains
[10579](TS011F): completed initialization

@MattWestb with what should I replace on the endpoints? Sorry if I ask stupid questions, this is the first week I am running Home Assistant and I dont really have an idea how all of this works, yet. I need to read a lot more how all of this ZigBee stuff works :)

@MattWestb
Copy link
Contributor

Endpoint 1, 2 , 3, 4 and 5 put one # in the beginning if the line and the line is being ignored.

@javicalle
Copy link
Collaborator

Ouuuuch, I believe that i have fixed it.
Can you try again?

@javicalle
Copy link
Collaborator

Not in endpoint 1

@MattWestb
Copy link
Contributor

Very true @javicalle !!!
Dont forgetting deleting the cluster it in the replacement then its working and making one PR so its not being no not working cluster that confusing user and the system.

@tim-geier
Copy link
Author

Unfortunately still an error with @javicalle edited version

Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Full log
New device 0x35fb (a4:c1:38:84:36:44:41:d7) joined the network
[0x35fb] Scheduling initialization
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x11\xfb5\xd7AD6\x848\xc1\xa4\x8e'
[0x35fb:zdo] ZDO request ZDOCmd.Device_annce: [0x35FB, a4:c1:38:84:36:44:41:d7, 142]
Tries remaining: 3
[0x35fb] Requesting 'Node Descriptor'
Tries remaining: 2
[0x35fb] Extending timeout for 0x45 request
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32770: b'E\x00\xfb5\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0x35fb] Got 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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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)
[0x35fb] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32773: b'G\x00\xfb5\x06\x01\x02\x03\x04\x05\xf2'
[0x35fb] Discovered endpoints: [1, 2, 3, 4, 5, 242]
[0x35fb] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=2 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=3 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=4 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=5 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0x35fb:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'I\x00\xfb5\x1a\x01\x04\x01\n\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00'
[0x35fb:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10])
Unknown cluster 0xE000
Unknown cluster 0xE001
[0x35fb:2] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'K\x00\xfb5\x10\x02\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0x35fb:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0x35fb:3] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'M\x00\xfb5\x10\x03\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0x35fb:3] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=3, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0x35fb:4] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'O\x00\xfb5\x10\x04\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0x35fb:4] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=4, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0x35fb:5] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'Q\x00\xfb5\x10\x05\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0x35fb:5] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=5, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0x35fb:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'S\x00\xfb5\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0x35fb:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0x35FB:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
[0x35FB:1:0x0000] Received ZCL frame: b'\x18U\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F'
[0x35FB:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=1, *is_reply=True)
[0x35FB:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F'))])
[0x35fb] Read model 'TS011F' and manufacturer '_TZ3000_cfnprab5' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, None:0xE000, None:0xE001, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x35fb] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x35FB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4, 5, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
'button' component -> 'ZHAIdentifyButton' using ['identify']
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
device - 0x35FB:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: True
device - 0x35FB:a4:c1:38:84:36:44:41:d7 has joined the ZHA zigbee network
[0x35FB](TS011F): started configuration
[0x35FB:ZDO](TS011F): 'async_configure' stage succeeded
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 4, '_TZ3000_cfnprab5') params: FOREIGN KEY constraint failed
[0x35FB:1:0x0006]: Performing cluster binding
[0x35FB:1:0x0003]: Configuring cluster attribute reporting
[0x35FB:1:0x0003]: finished channel configuration
[0x35FB:1:0x0000]: Configuring cluster attribute reporting
[0x35FB:1:0x0000]: finished channel configuration
[0x35FB:1:0x0019]: finished channel configuration
[0x35FB:2:0x0006]: Performing cluster binding
[0x35FB:3:0x0006]: Performing cluster binding
[0x35FB:4:0x0006]: Performing cluster binding
[0x35FB:5:0x0006]: Performing cluster binding
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
[0xed77] Delivery error for seq # 0x43, on endpoint id 1 cluster 0x0006: message send failure
[0xED77:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0xed77:1:0x0006]: Message send failure
[0xED77:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0xed77:1:0x0006]: Message send failure'), DeliveryError('[0xed77:1:0x0006]: Message send failure'), DeliveryError('[0xed77:1:0x0006]: Message send failure'), DeliveryError('[0xed77:1:0x0006]: Message send failure')]
[0xED77:1:0x0006]: 'async_initialize' stage succeeded
[0xED77:1:0x0003]: 'async_initialize' stage succeeded
[0xED77:1:0x0000]: 'async_initialize' stage succeeded
[0xED77:1:0x0019]: 'async_initialize' stage succeeded
[0xED77](TS011F): power source: Mains
[0xED77](TS011F): completed initialization
[0x35FB:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x35FB:1:0x0006]: Configuring cluster attribute reporting
[0x35FB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=97, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x35FB:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x35fb] Delivery error for seq # 0x61, on endpoint id 1 cluster 0x0006: message send failure
[0x35FB:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0x35fb:1:0x0006]: Message send failure
[0x35FB:1:0x0006]: finished channel configuration
[0x35FB:1:0x0006]: 'async_configure' stage succeeded
[0x35FB:1:0x0003]: 'async_configure' stage succeeded
[0x35FB:1:0x0000]: 'async_configure' stage succeeded
[0x35FB:1:0x0019]: 'async_configure' stage succeeded
[0x35FB:2:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x35FB:2:0x0006]: Configuring cluster attribute reporting
[0x35FB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=99, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x35FB:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x35fb] Delivery error for seq # 0x63, on endpoint id 2 cluster 0x0006: message send failure
[0x35FB:2:0x0006]: failed to set reporting on 'on_off' cluster for: [0x35fb:2:0x0006]: Message send failure
[0x35FB:2:0x0006]: finished channel configuration
[0x35FB:2:0x0006]: 'async_configure' stage succeeded
[0x35FB:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x35FB:3:0x0006]: Configuring cluster attribute reporting
[0x35FB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x35FB:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x35FB:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x35FB:4:0x0006]: Configuring cluster attribute reporting
[0x35FB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=103, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x35FB:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x35FB:5:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x35FB:5:0x0006]: Configuring cluster attribute reporting
[0x35FB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=105, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x35FB:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x35FB:1:0x0006] Received ZCL frame: b'\x18a\x07\x00\x00\x00\x00'
[0x35FB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=97, command_id=7, *is_reply=True)
[0x35FB:1:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:1:0x0006] Received command 0x07 (TSN 97): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:2:0x0006] Received ZCL frame: b'\x18c\x07\x00\x00\x00\x00'
[0x35FB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=99, command_id=7, *is_reply=True)
[0x35FB:2:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:2:0x0006] Received command 0x07 (TSN 99): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:3:0x0006] Received ZCL frame: b'\x18e\x07\x00\x00\x00\x00'
[0x35FB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=7, *is_reply=True)
[0x35FB:3:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x35FB:3:0x0006]: finished channel configuration
[0x35FB:3:0x0006]: 'async_configure' stage succeeded
[0x35FB:4:0x0006] Received ZCL frame: b'\x18g\x07\x00\x00\x00\x00'
[0x35FB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=103, command_id=7, *is_reply=True)
[0x35FB:4:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:4:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x35FB:4:0x0006]: finished channel configuration
[0x35FB:4:0x0006]: 'async_configure' stage succeeded
[0x35fb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x35FB:5:0x0006] Received ZCL frame: b'\x18i\x07\x00\x00\x00\x00'
[0x35FB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=105, command_id=7, *is_reply=True)
[0x35FB:5:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x35FB:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x35FB:5:0x0006]: finished channel configuration
[0x35FB:5:0x0006]: 'async_configure' stage succeeded
[0x35FB](TS011F): completed configuration
[0x35FB](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656102095.050894)
[0x35FB:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=107, command_id=64, *is_reply=False)
[0x35FB:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x35FB:1:0x0003] Received ZCL frame: b'\x18k\x0b@\x00'
[0x35FB:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=11, *is_reply=True)
[0x35FB:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0x35FB:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0x35FB](TS011F): started initialization
[0x35FB:ZDO](TS011F): 'async_initialize' stage succeeded
[0x35FB:1:0x0006]: initializing channel: from_cache: False
[0x35FB:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=109, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:1:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:1:0x0003]: initializing channel: from_cache: False
[0x35FB:1:0x0003]: finished channel initialization
[0x35FB:1:0x0000]: initializing channel: from_cache: False
[0x35FB:1:0x0000]: finished channel initialization
[0x35FB:1:0x0019]: initializing channel: from_cache: False
[0x35FB:1:0x0019]: finished channel initialization
[0x35FB:2:0x0006]: initializing channel: from_cache: False
[0x35FB:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=111, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:2:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:3:0x0006]: initializing channel: from_cache: False
[0x35FB:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:3:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:4:0x0006]: initializing channel: from_cache: False
[0x35FB:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=115, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:4:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:5:0x0006]: initializing channel: from_cache: False
[0x35FB:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=117, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:1:0x0006] Received ZCL frame: b'\x18m\x01\x03@\x86'
[0x35FB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=109, command_id=1, *is_reply=True)
[0x35FB:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x35FB:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0x35FB:1:0x0006]: Reading attributes in chunks: ['on_off']
[0x35FB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=119, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x35FB:2:0x0006] Received ZCL frame: b'\x18o\x01\x03@\x86'
[0x35FB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=111, command_id=1, *is_reply=True)
[0x35FB:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x35FB:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0x35FB:2:0x0006]: Reading attributes in chunks: ['on_off']
[0x35FB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=121, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x35FB:3:0x0006] Received ZCL frame: b'\x18q\x01\x03@\x86'
[0x35FB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=1, *is_reply=True)
[0x35FB:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x35FB:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0x35FB:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x35FB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=123, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x35FB:4:0x0006] Received ZCL frame: b'\x18s\x01\x03@\x86'
[0x35FB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=115, command_id=1, *is_reply=True)
[0x35FB:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x35FB:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0x35FB:4:0x0006]: Reading attributes in chunks: ['on_off']
[0x35FB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=125, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x35FB:1:0x0006] Received ZCL frame: b'\x18w\x01\x00\x00\x00\x10\x01'
[0x35FB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=119, command_id=1, *is_reply=True)
[0x35FB:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0x35FB:1:0x0006]: finished channel initialization
[0x35FB:1:0x0006]: 'async_initialize' stage succeeded
[0x35FB:1:0x0003]: 'async_initialize' stage succeeded
[0x35FB:1:0x0000]: 'async_initialize' stage succeeded
[0x35FB:1:0x0019]: 'async_initialize' stage succeeded
[0x35FB:2:0x0006] Received ZCL frame: b'\x18y\x01\x00\x00\x00\x10\x01'
[0x35FB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=121, command_id=1, *is_reply=True)
[0x35FB:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0x35FB:2:0x0006]: finished channel initialization
[0x35FB:2:0x0006]: 'async_initialize' stage succeeded
[0x35FB:3:0x0006] Received ZCL frame: b'\x18{\x01\x00\x00\x00\x10\x01'
[0x35FB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=123, command_id=1, *is_reply=True)
[0x35FB:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0x35FB:3:0x0006]: finished channel initialization
[0x35FB:3:0x0006]: 'async_initialize' stage succeeded
[0x35FB:4:0x0006] Received ZCL frame: b'\x18}\x01\x00\x00\x00\x10\x01'
[0x35FB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=125, command_id=1, *is_reply=True)
[0x35FB:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0x35FB:4:0x0006]: finished channel initialization
[0x35FB:4:0x0006]: 'async_initialize' stage succeeded
[0x35fb:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x35fb:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x35fb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x35FB:5:0x0006]: failed to get attributes '['start_up_on_off']' on 'on_off' cluster: 
[0x35FB:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 1.0s
[0x35FB:5:0x0006]: initializing channel: from_cache: False
[0x35FB:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0x35FB:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0x35FB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=127, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0x35FB:5:0x0006] Received ZCL frame: b'\x18\x7f\x01\x03@\x86'
[0x35FB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=127, command_id=1, *is_reply=True)
[0x35FB:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x35FB:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0x35FB:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x35FB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=129, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x35FB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x35FB:5:0x0006] Received ZCL frame: b'\x18\x81\x01\x00\x00\x00\x10\x01'
[0x35FB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=129, command_id=1, *is_reply=True)
[0x35FB:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0x35FB:5:0x0006]: finished channel initialization
[0x35FB:5:0x0006]: 'async_initialize' stage succeeded
[0x35FB](TS011F): power source: Mains
[0x35FB](TS011F): completed initialization
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
[0x35fb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x35fb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x35fb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x0000](ConBee II): Device seen - marking the device available and resetting counter
[0x0000](ConBee II): Update device availability -  device available: True - new availability: True - changed: False
Device 0x3a17 (a4:c1:38:84:36:44:41:d7) joined the network
Device a4:c1:38:84:36:44:41:d7 changed id (0x3a17 => 0x3a17)
[0x3a17] Skipping initialization, device is fully initialized
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x3A17 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4, 5, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
[0x3a17:zdo] ZDO request ZDOCmd.Device_annce: [0x3A17, a4:c1:38:84:36:44:41:d7, 142]
device - 14871:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: False
device - 14871:a4:c1:38:84:36:44:41:d7 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 14871:a4:c1:38:84:36:44:41:d7
[14871](TS011F): started configuration
[14871:ZDO](TS011F): 'async_configure' stage succeeded
[14871:1:0x0006]: Performing cluster binding
[14871:1:0x0003]: Configuring cluster attribute reporting
[14871:1:0x0003]: finished channel configuration
[14871:1:0x0000]: Configuring cluster attribute reporting
[14871:1:0x0000]: finished channel configuration
[14871:1:0x0019]: finished channel configuration
[14871:2:0x0006]: Performing cluster binding
[14871:3:0x0006]: Performing cluster binding
[14871:4:0x0006]: Performing cluster binding
[14871:5:0x0006]: Performing cluster binding
[0x3a17] Delivery error for seq # 0x85, on endpoint id 0 cluster 0x0021: message send failure
[14871:2:0x0006]: Failed to bind 'on_off' cluster: [0x3a17:0:0x0021]: Message send failure
[14871:2:0x0006]: Configuring cluster attribute reporting
[0x3A17:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=141, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x3A17:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x3a17] Delivery error for seq # 0x8b, on endpoint id 0 cluster 0x0021: message send failure
[14871:5:0x0006]: Failed to bind 'on_off' cluster: [0x3a17:0:0x0021]: Message send failure
[14871:5:0x0006]: Configuring cluster attribute reporting
[0x3A17:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=143, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x3A17:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[14871:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[14871:1:0x0006]: Configuring cluster attribute reporting
[0x3A17:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=145, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x3A17:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x3a17] Delivery error for seq # 0x8d, on endpoint id 2 cluster 0x0006: message send failure
[14871:2:0x0006]: failed to set reporting on 'on_off' cluster for: [0x3a17:2:0x0006]: Message send failure
[14871:2:0x0006]: finished channel configuration
[14871:2:0x0006]: 'async_configure' stage succeeded
[0x3a17:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[14871:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[14871:3:0x0006]: Configuring cluster attribute reporting
[0x3A17:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=147, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x3A17:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[14871:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[14871:4:0x0006]: Configuring cluster attribute reporting
[0x3A17:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=149, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x3A17:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x3a17] Delivery error for seq # 0x93, on endpoint id 3 cluster 0x0006: message send failure
[14871:3:0x0006]: failed to set reporting on 'on_off' cluster for: [0x3a17:3:0x0006]: Message send failure
[14871:3:0x0006]: finished channel configuration
[14871:3:0x0006]: 'async_configure' stage succeeded
[0x3a17] Delivery error for seq # 0x95, on endpoint id 4 cluster 0x0006: message send failure
[14871:4:0x0006]: failed to set reporting on 'on_off' cluster for: [0x3a17:4:0x0006]: Message send failure
[14871:4:0x0006]: finished channel configuration
[14871:4:0x0006]: 'async_configure' stage succeeded
[0x3A17:2:0x0006] Received ZCL frame: b'\x18\x8d\x07\x00\x00\x00\x00'
[0x3A17:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=141, command_id=7, *is_reply=True)
[0x3A17:2:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:2:0x0006] Received command 0x07 (TSN 141): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:5:0x0006] Received ZCL frame: b'\x18\x8f\x07\x00\x00\x00\x00'
[0x3A17:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=143, command_id=7, *is_reply=True)
[0x3A17:5:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[14871:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[14871:5:0x0006]: finished channel configuration
[14871:5:0x0006]: 'async_configure' stage succeeded
[0x3A17:1:0x0006] Received ZCL frame: b'\x18\x91\x07\x00\x00\x00\x00'
[0x3A17:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=145, command_id=7, *is_reply=True)
[0x3A17:1:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[14871:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[14871:1:0x0006]: finished channel configuration
[14871:1:0x0006]: 'async_configure' stage succeeded
[14871:1:0x0003]: 'async_configure' stage succeeded
[14871:1:0x0000]: 'async_configure' stage succeeded
[14871:1:0x0019]: 'async_configure' stage succeeded
[14871](TS011F): completed configuration
[14871](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656102119.407774)
[0x3A17:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=151, command_id=64, *is_reply=False)
[0x3A17:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x3A17:3:0x0006] Received ZCL frame: b'\x18\x93\x07\x00\x00\x00\x00'
[0x3A17:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=147, command_id=7, *is_reply=True)
[0x3A17:3:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:3:0x0006] Received command 0x07 (TSN 147): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:4:0x0006] Received ZCL frame: b'\x18\x95\x07\x00\x00\x00\x00'
[0x3A17:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=149, command_id=7, *is_reply=True)
[0x3A17:4:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:4:0x0006] Received command 0x07 (TSN 149): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x3A17:1:0x0003] Received ZCL frame: b'\x18\x97\x0b@\x00'
[0x3A17:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=151, command_id=11, *is_reply=True)
[0x3A17:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[14871:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[14871](TS011F): Update device availability -  device available: False - new availability: True - changed: True
[14871](TS011F): Device availability changed and device became available, reinitializing channels
[14871](TS011F): started initialization
[14871:ZDO](TS011F): 'async_initialize' stage succeeded
[14871:1:0x0006]: initializing channel: from_cache: False
[14871:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:1:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=153, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[14871:1:0x0003]: initializing channel: from_cache: False
[14871:1:0x0003]: finished channel initialization
[14871:1:0x0000]: initializing channel: from_cache: False
[14871:1:0x0000]: finished channel initialization
[14871:1:0x0019]: initializing channel: from_cache: False
[14871:1:0x0019]: finished channel initialization
[14871:2:0x0006]: initializing channel: from_cache: False
[14871:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:2:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=155, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[14871:3:0x0006]: initializing channel: from_cache: False
[14871:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=157, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[14871:4:0x0006]: initializing channel: from_cache: False
[14871:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:4:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=159, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[14871:5:0x0006]: initializing channel: from_cache: False
[14871:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=161, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x3A17:1:0x0006] Received ZCL frame: b'\x18\x99\x01\x00\x00\x00\x10\x01'
[0x3A17:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=153, command_id=1, *is_reply=True)
[0x3A17:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[14871:1:0x0006]: finished channel initialization
[14871:1:0x0006]: 'async_initialize' stage succeeded
[14871:1:0x0003]: 'async_initialize' stage succeeded
[14871:1:0x0000]: 'async_initialize' stage succeeded
[14871:1:0x0019]: 'async_initialize' stage succeeded
[0x3A17:2:0x0006] Received ZCL frame: b'\x18\x9b\x01\x00\x00\x00\x10\x01'
[0x3A17:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=155, command_id=1, *is_reply=True)
[0x3A17:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[14871:2:0x0006]: finished channel initialization
[14871:2:0x0006]: 'async_initialize' stage succeeded
[0x3A17:3:0x0006] Received ZCL frame: b'\x18\x9d\x01\x00\x00\x00\x10\x01'
[0x3A17:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=157, command_id=1, *is_reply=True)
[0x3A17:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[14871:3:0x0006]: finished channel initialization
[14871:3:0x0006]: 'async_initialize' stage succeeded
[0x3A17:4:0x0006] Received ZCL frame: b'\x18\x9f\x01\x00\x00\x00\x10\x01'
[0x3A17:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=159, command_id=1, *is_reply=True)
[0x3A17:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[14871:4:0x0006]: finished channel initialization
[14871:4:0x0006]: 'async_initialize' stage succeeded
[0x3a17:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x3a17:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x3a17:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x3a17:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[14871:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[14871:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 0.8s
[0x3a17:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x3a17:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[14871:5:0x0006]: initializing channel: from_cache: False
[14871:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[14871:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[14871:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[14871:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x3A17:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=163, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x3A17:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x3A17:5:0x0006] Received ZCL frame: b'\x18\xa3\x01\x00\x00\x00\x10\x01'
[0x3A17:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=163, command_id=1, *is_reply=True)
[0x3A17:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[14871:5:0x0006]: finished channel initialization
[14871:5:0x0006]: 'async_initialize' stage succeeded
[14871](TS011F): power source: Mains
[14871](TS011F): completed initialization
[0xE612](lumi.sensor_magnet.aq2): Device seen - marking the device available and resetting counter
[0xE612](lumi.sensor_magnet.aq2): Update device availability -  device available: True - new availability: True - changed: False
Device 0x4d3b (a4:c1:38:84:36:44:41:d7) joined the network
Device a4:c1:38:84:36:44:41:d7 changed id (0x4d3b => 0x4d3b)
[0x4d3b] Skipping initialization, device is fully initialized
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x4D3B ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Fail because endpoint list mismatch: {1, 242} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4, 5, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4, 5, 242}
[0x4d3b:zdo] ZDO request ZDOCmd.Device_annce: [0x4D3B, a4:c1:38:84:36:44:41:d7, 142]
device - 19771:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: False
device - 19771:a4:c1:38:84:36:44:41:d7 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 19771:a4:c1:38:84:36:44:41:d7
[19771](TS011F): started configuration
[19771:ZDO](TS011F): 'async_configure' stage succeeded
[19771:1:0x0006]: Performing cluster binding
[19771:1:0x0003]: Configuring cluster attribute reporting
[19771:1:0x0003]: finished channel configuration
[19771:1:0x0000]: Configuring cluster attribute reporting
[19771:1:0x0000]: finished channel configuration
[19771:1:0x0019]: finished channel configuration
[19771:2:0x0006]: Performing cluster binding
[19771:3:0x0006]: Performing cluster binding
[19771:4:0x0006]: Performing cluster binding
[19771:5:0x0006]: Performing cluster binding
[0x4d3b] Delivery error for seq # 0xa7, on endpoint id 0 cluster 0x0021: message send failure
[19771:2:0x0006]: Failed to bind 'on_off' cluster: [0x4d3b:0:0x0021]: Message send failure
[19771:2:0x0006]: Configuring cluster attribute reporting
[0x4D3B:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=175, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x4D3B:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x4d3b] Delivery error for seq # 0xab, on endpoint id 0 cluster 0x0021: message send failure
[19771:4:0x0006]: Failed to bind 'on_off' cluster: [0x4d3b:0:0x0021]: Message send failure
[19771:4:0x0006]: Configuring cluster attribute reporting
[0x4D3B:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=177, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x4D3B:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x4d3b] Delivery error for seq # 0xad, on endpoint id 0 cluster 0x0021: message send failure
[19771:5:0x0006]: Failed to bind 'on_off' cluster: [0x4d3b:0:0x0021]: Message send failure
[19771:5:0x0006]: Configuring cluster attribute reporting
[0x4D3B:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=179, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x4D3B:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[19771:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[19771:1:0x0006]: Configuring cluster attribute reporting
[0x4D3B:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=181, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x4D3B:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x4d3b:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[19771:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[19771:3:0x0006]: Configuring cluster attribute reporting
[0x4D3B:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=183, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x4D3B:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x4d3b:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x4D3B:2:0x0006] Received ZCL frame: b'\x18\xaf\x07\x00\x00\x00\x00'
[0x4D3B:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=175, command_id=7, *is_reply=True)
[0x4D3B:2:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[19771:2:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[19771:2:0x0006]: finished channel configuration
[19771:2:0x0006]: 'async_configure' stage succeeded
[0x4D3B:4:0x0006] Received ZCL frame: b'\x18\xb1\x07\x00\x00\x00\x00'
[0x4D3B:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=177, command_id=7, *is_reply=True)
[0x4D3B:4:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[19771:4:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[19771:4:0x0006]: finished channel configuration
[19771:4:0x0006]: 'async_configure' stage succeeded
[0x4D3B:5:0x0006] Received ZCL frame: b'\x18\xb3\x07\x00\x00\x00\x00'
[0x4D3B:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=179, command_id=7, *is_reply=True)
[0x4D3B:5:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[19771:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[19771:5:0x0006]: finished channel configuration
[19771:5:0x0006]: 'async_configure' stage succeeded
[0x4D3B:1:0x0006] Received ZCL frame: b'\x18\xb5\x07\x00\x00\x00\x00'
[0x4D3B:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=181, command_id=7, *is_reply=True)
[0x4D3B:1:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[19771:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[19771:1:0x0006]: finished channel configuration
[19771:1:0x0006]: 'async_configure' stage succeeded
[19771:1:0x0003]: 'async_configure' stage succeeded
[19771:1:0x0000]: 'async_configure' stage succeeded
[19771:1:0x0019]: 'async_configure' stage succeeded
[0x4D3B:3:0x0006] Received ZCL frame: b'\x18\xb7\x07\x00\x00\x00\x00'
[0x4D3B:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=183, command_id=7, *is_reply=True)
[0x4D3B:3:0x0006] Decoded ZCL frame: OnOff:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[19771:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[19771:3:0x0006]: finished channel configuration
[19771:3:0x0006]: 'async_configure' stage succeeded
[19771](TS011F): completed configuration
[19771](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656102131.376822)
[0x4D3B:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=185, command_id=64, *is_reply=False)
[0x4D3B:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x4D3B:1:0x0003] Received ZCL frame: b'\x18\xb9\x0b@\x00'
[0x4D3B:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=185, command_id=11, *is_reply=True)
[0x4D3B:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[19771:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[19771](TS011F): Update device availability -  device available: False - new availability: True - changed: True
[19771](TS011F): Device availability changed and device became available, reinitializing channels
[19771](TS011F): started initialization
[19771:ZDO](TS011F): 'async_initialize' stage succeeded
[19771:1:0x0006]: initializing channel: from_cache: False
[19771:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:1:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=187, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[19771:1:0x0003]: initializing channel: from_cache: False
[19771:1:0x0003]: finished channel initialization
[19771:1:0x0000]: initializing channel: from_cache: False
[19771:1:0x0000]: finished channel initialization
[19771:1:0x0019]: initializing channel: from_cache: False
[19771:1:0x0019]: finished channel initialization
[19771:2:0x0006]: initializing channel: from_cache: False
[19771:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:2:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=189, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[19771:3:0x0006]: initializing channel: from_cache: False
[19771:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=191, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[19771:4:0x0006]: initializing channel: from_cache: False
[19771:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:4:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=193, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[19771:5:0x0006]: initializing channel: from_cache: False
[19771:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=195, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x4D3B:1:0x0006] Received ZCL frame: b'\x18\xbb\x01\x00\x00\x00\x10\x01'
[0x4D3B:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=187, command_id=1, *is_reply=True)
[0x4D3B:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[19771:1:0x0006]: finished channel initialization
[19771:1:0x0006]: 'async_initialize' stage succeeded
[19771:1:0x0003]: 'async_initialize' stage succeeded
[19771:1:0x0000]: 'async_initialize' stage succeeded
[19771:1:0x0019]: 'async_initialize' stage succeeded
[0x4d3b] Delivery error for seq # 0xbf, on endpoint id 3 cluster 0x0006: message send failure
[19771:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0x4d3b:3:0x0006]: Message send failure
[19771:3:0x0006]: async_initialize: retryable request #1 failed: [0x4d3b:3:0x0006]: Message send failure. Retrying in 1.1s
[0x4D3B:2:0x0006] Received ZCL frame: b'\x18\xbd\x01\x00\x00\x00\x10\x01'
[0x4D3B:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=189, command_id=1, *is_reply=True)
[0x4D3B:2:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[19771:2:0x0006]: finished channel initialization
[19771:2:0x0006]: 'async_initialize' stage succeeded
[0x4D3B:4:0x0006] Received ZCL frame: b'\x18\xc1\x01\x00\x00\x00\x10\x01'
[0x4D3B:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=193, command_id=1, *is_reply=True)
[0x4D3B:4:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[19771:4:0x0006]: finished channel initialization
[19771:4:0x0006]: 'async_initialize' stage succeeded
[0x4D3B:5:0x0006] Received ZCL frame: b'\x18\xc3\x01\x00\x00\x00\x10\x01'
[0x4D3B:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=195, command_id=1, *is_reply=True)
[0x4D3B:5:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[19771:5:0x0006]: finished channel initialization
[19771:5:0x0006]: 'async_initialize' stage succeeded
[0x4d3b:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[19771:3:0x0006]: initializing channel: from_cache: False
[19771:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[19771:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[19771:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[19771:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x4D3B:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=197, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x4D3B:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x4D3B:3:0x0006] Received ZCL frame: b'\x18\xc5\x01\x00\x00\x00\x10\x01'
[0x4D3B:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=197, command_id=1, *is_reply=True)
[0x4D3B:3:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[19771:3:0x0006]: finished channel initialization
[19771:3:0x0006]: 'async_initialize' stage succeeded
[19771](TS011F): power source: Mains
[19771](TS011F): completed initialization
[0x4d3b:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x4d3b:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x4d3b:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x4d3b:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])

in the device signature there are these four in clusters for endpoints 2-5

"in_clusters": [
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe001"
      ],

but the in clusters in the quirk file are these five

   INPUT_CLUSTERS: [
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],

shouldn't these match? Where can I find where Identify.cluster_id and so on are defined, so I can find out which is which and maybe delete the ?wrong? one?

@MattWestb
Copy link
Contributor

Identify.cluster_id is 0x03 / 3 so deleting it in the signature for the endpoints that is not having it.

All cluster on all endpoints must matching for the system to loading the quirk.

@tim-geier
Copy link
Author

tim-geier commented Jun 24, 2022

The quirk now looks like this:

"""TS011F plug."""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaNewManufCluster,
    TuyaZBE000Cluster,
    TuyaZBElectricalMeasurement,
    TuyaZBExternalSwitchTypeCluster,
    TuyaZBMeteringCluster,
    TuyaZBOnOffAttributeCluster,
)
from zhaquirks.tuya.mcu import EnchantedDevice


class Plug_4AC_2USB_xenon(CustomDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=[0, 3, 4, 5, 6, 57344, 57345]
            # output_clusters=[10, 25]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            # <SimpleDescriptor endpoint=2 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=3 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=4 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=5 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=242 profile=41440 device_type=97
            # device_version=1
            # input_clusters=[]
            # output_clusters=[33]>
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBE000Cluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

and it is loaded for my power strip, but the switches still don't work.
Screenshot 2022-06-24 230119

I can set the switch in Home Assistant but after a few seconds it goes back to the old position and the power strip does not switch on/off.

@javicalle
Copy link
Collaborator

Ouuuuuch^2

I'm editing from mobile phone, so no easy to review code.
I have already try to fix it in my initial comment.

@javicalle
Copy link
Collaborator

Can you try with another approach?

  1. Import the TuyaOnOffNM class (replace the import line):
from zhaquirks.tuya.mcu import EnchantedDevice, TuyaOnOffNM
  1. Use the new class in just one endpoint (in the replacement part) just to test, for example:
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaOnOffNM,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },

Restart and check all the switches again. Maybe one of them would work with the change.

@MattWestb
Copy link
Contributor

@javicalle its looks being one updated version then its having better cluster confing (more zigbee standard) as the original and very likely tuya have doing some tuning like LIDL have doing with the last shipped version that is needing tuya magic being casted for working OK.

Its implanted in the LIDL quirk folder and can being good trying if no manufacture is not working.

@tim-geier looks better only need finding what tuya have cooking this time for getting it working OK !!

@tim-geier
Copy link
Author

@javicalle sure, I can try whatever brings us closer to a solution :)
If i change the second endpoint to TuyaOnOffNM, then I get the following error, if I try to change the second switch:
Screenshot 2022-06-24 232136

@MattWestb thanks for the hint, I will try to cobble something together with the tuya magic from the lidl plugs. But this will have to wait until tomorrow...

@javicalle
Copy link
Collaborator

The 'NO_MANUFACTURER' will require more changes...

Restore the TuyaOnOffNM cluster and replace the class defition with:

class Plug_4AC_2USB_xenon(EnchantedDevice):

@tim-geier
Copy link
Author

Still no luck with replacing the class definition and reverting the second endpoint back to normal.

Pairing log
[0x0000](ConBee II): Update device availability -  device available: True - new availability: True - changed: False
[0xE612](lumi.sensor_magnet.aq2): Device seen - marking the device available and resetting counter
[0xE612](lumi.sensor_magnet.aq2): Update device availability -  device available: True - new availability: True - changed: False
New device 0xbefb (a4:c1:38:84:36:44:41:d7) joined the network
[0xbefb] Scheduling initialization
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x00\xfb\xbe\xd7AD6\x848\xc1\xa4\x8e'
[0xbefb:zdo] ZDO request ZDOCmd.Device_annce: [0xBEFB, a4:c1:38:84:36:44:41:d7, 142]
Tries remaining: 3
[0xbefb] Requesting 'Node Descriptor'
Tries remaining: 2
[0xbefb] Extending timeout for 0x1b request
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x1b\x00\xfb\xbe\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0xbefb] Got 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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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)
[0xbefb] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x1d\x00\xfb\xbe\x06\x01\x02\x03\x04\x05\xf2'
[0xbefb] Discovered endpoints: [1, 2, 3, 4, 5, 242]
[0xbefb] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=2 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=3 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=4 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=5 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0xbefb:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x1f\x00\xfb\xbe\x1a\x01\x04\x01\n\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00'
[0xbefb:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10])
Unknown cluster 0xE000
Unknown cluster 0xE001
[0xbefb:2] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'!\x00\xfb\xbe\x10\x02\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xbefb:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xbefb:3] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'#\x00\xfb\xbe\x10\x03\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xbefb:3] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=3, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xbefb:4] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'%\x00\xfb\xbe\x10\x04\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00'
[0xbefb:4] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=4, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xbefb:5] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b"'\x00\xfb\xbe\x10\x05\x04\x01\n\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00"
[0xbefb:5] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=5, profile=260, device_type=266, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[])
Unknown cluster 0xE001
[0xbefb:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=False> from ep 0 to ep 0, cluster 32772: b')\x00\xfb\xbe\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0xbefb:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0xBEFB:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=43, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
[0xBEFB:1:0x0000] Received ZCL frame: b'\x18+\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F'
[0xBEFB:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=43, command_id=1, *is_reply=True)
[0xBEFB:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F'))])
[0xbefb] Read model 'TS011F' and manufacturer '_TZ3000_cfnprab5' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, None:0xE000, None:0xE001, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0xbefb] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xBEFB ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Found custom device replacement for a4:c1:38:84:36:44:41:d7: <class 'ts011f.Plug_4AC_2USB_xenon'>
[0xBEFB:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=45, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 0, 1, 5, 7, 65534])
'button' component -> 'ZHAIdentifyButton' using ['identify']
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
device - 0xBEFB:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: True
device - 0xBEFB:a4:c1:38:84:36:44:41:d7 has joined the ZHA zigbee network
[0xBEFB](TS011F): started configuration
[0xBEFB:ZDO](TS011F): 'async_configure' stage succeeded
[0xBEFB:1:0x0006]: Performing cluster binding
[0xBEFB:1:0x0000]: Configuring cluster attribute reporting
[0xBEFB:1:0x0000]: finished channel configuration
[0xBEFB:1:0x0003]: Configuring cluster attribute reporting
[0xBEFB:1:0x0003]: finished channel configuration
[0xBEFB:1:0x0019]: finished channel configuration
[0xBEFB:2:0x0006]: Performing cluster binding
[0xBEFB:3:0x0006]: Performing cluster binding
[0xBEFB:4:0x0006]: Performing cluster binding
[0xBEFB:5:0x0006]: Performing cluster binding
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 4, '_TZ3000_cfnprab5') params: FOREIGN KEY constraint failed
Error handling '_save_attribute' event with (a4:c1:38:84:36:44:41:d7, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
[0xBEFB:1:0x0000] Received ZCL frame: b'\x18-\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x00\x00\x00 \x03\x01\x00\x00 C\x05\x00\x00B\x06TS011F\x07\x00\x000\x01\xfe\xff\x000\x00'
[0xBEFB:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=45, command_id=1, *is_reply=True)
[0xBEFB:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=3)), ReadAttributeRecord(attrid=0x0001, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=67)), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F')), ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x01: 1>)), ReadAttributeRecord(attrid=0xFFFE, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x00: 0>))])
[0xbefb] Delivery error for seq # 0x31, on endpoint id 0 cluster 0x0021: message send failure
[0xBEFB:2:0x0006]: Failed to bind 'on_off' cluster: [0xbefb:0:0x0021]: Message send failure
[0xBEFB:2:0x0006]: Configuring cluster attribute reporting
[0xBEFB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=57, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xBEFB:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xbefb] Delivery error for seq # 0x33, on endpoint id 0 cluster 0x0021: message send failure
[0xBEFB:3:0x0006]: Failed to bind 'on_off' cluster: [0xbefb:0:0x0021]: Message send failure
[0xBEFB:3:0x0006]: Configuring cluster attribute reporting
[0xBEFB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=59, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xBEFB:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xBEFB:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xBEFB:1:0x0006]: Configuring cluster attribute reporting
[0xBEFB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=61, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xBEFB:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xbefb] Delivery error for seq # 0x37, on endpoint id 0 cluster 0x0021: message send failure
[0xBEFB:5:0x0006]: Failed to bind 'on_off' cluster: [0xbefb:0:0x0021]: Message send failure
[0xBEFB:5:0x0006]: Configuring cluster attribute reporting
[0xBEFB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=63, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xBEFB:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xbefb:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0xbefb] Delivery error for seq # 0x3d, on endpoint id 1 cluster 0x0006: message send failure
[0xBEFB:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0xbefb:1:0x0006]: Message send failure
[0xBEFB:1:0x0006]: finished channel configuration
[0xBEFB:1:0x0006]: 'async_configure' stage succeeded
[0xBEFB:1:0x0000]: 'async_configure' stage succeeded
[0xBEFB:1:0x0003]: 'async_configure' stage succeeded
[0xBEFB:1:0x0019]: 'async_configure' stage succeeded
[0xBEFB:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xBEFB:4:0x0006]: Configuring cluster attribute reporting
[0xBEFB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=65, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xBEFB:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xbefb:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0xBEFB:2:0x0006] Received ZCL frame: b'\x189\x07\x00\x00\x00\x00'
[0xBEFB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=57, command_id=7, *is_reply=True)
[0xBEFB:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:2:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xBEFB:2:0x0006]: finished channel configuration
[0xBEFB:2:0x0006]: 'async_configure' stage succeeded
[0xBEFB:3:0x0006] Received ZCL frame: b'\x18;\x07\x00\x00\x00\x00'
[0xBEFB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=59, command_id=7, *is_reply=True)
[0xBEFB:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xBEFB:3:0x0006]: finished channel configuration
[0xBEFB:3:0x0006]: 'async_configure' stage succeeded
[0xBEFB:1:0x0006] Received ZCL frame: b'\x18=\x07\x00\x00\x00\x00'
[0xBEFB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=61, command_id=7, *is_reply=True)
[0xBEFB:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:1:0x0006] Received command 0x07 (TSN 61): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:5:0x0006] Received ZCL frame: b'\x18?\x07\x00\x00\x00\x00'
[0xBEFB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=63, command_id=7, *is_reply=True)
[0xBEFB:5:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:5:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xBEFB:5:0x0006]: finished channel configuration
[0xBEFB:5:0x0006]: 'async_configure' stage succeeded
[0xBEFB:4:0x0006] Received ZCL frame: b'\x18A\x07\x00\x00\x00\x00'
[0xBEFB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=65, command_id=7, *is_reply=True)
[0xBEFB:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xBEFB:4:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xBEFB:4:0x0006]: finished channel configuration
[0xBEFB:4:0x0006]: 'async_configure' stage succeeded
[0xBEFB](TS011F): completed configuration
[0xBEFB](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656135860.979052)
[0xBEFB:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=67, command_id=64, *is_reply=False)
[0xBEFB:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0xbefb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xBEFB:1:0x0003] Received ZCL frame: b'\x18C\x0b@\x00'
[0xBEFB:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=67, command_id=11, *is_reply=True)
[0xBEFB:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xBEFB:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xBEFB](TS011F): started initialization
[0xBEFB:ZDO](TS011F): 'async_initialize' stage succeeded
[0xBEFB:1:0x0006]: initializing channel: from_cache: False
[0xBEFB:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:1:0x0000]: initializing channel: from_cache: False
[0xBEFB:1:0x0000]: finished channel initialization
[0xBEFB:1:0x0003]: initializing channel: from_cache: False
[0xBEFB:1:0x0003]: finished channel initialization
[0xBEFB:1:0x0019]: initializing channel: from_cache: False
[0xBEFB:1:0x0019]: finished channel initialization
[0xBEFB:2:0x0006]: initializing channel: from_cache: False
[0xBEFB:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=71, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:2:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:3:0x0006]: initializing channel: from_cache: False
[0xBEFB:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=73, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:3:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:4:0x0006]: initializing channel: from_cache: False
[0xBEFB:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:4:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:5:0x0006]: initializing channel: from_cache: False
[0xBEFB:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:1:0x0006] Received ZCL frame: b'\x18E\x01\x03@\x86'
[0xBEFB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=1, *is_reply=True)
[0xBEFB:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xBEFB:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:1:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=79, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:2:0x0006] Received ZCL frame: b'\x18G\x01\x03@\x86'
[0xBEFB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=71, command_id=1, *is_reply=True)
[0xBEFB:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xBEFB:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:2:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:3:0x0006] Received ZCL frame: b'\x18I\x01\x03@\x86'
[0xBEFB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=73, command_id=1, *is_reply=True)
[0xBEFB:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xBEFB:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:3:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:4:0x0006] Received ZCL frame: b'\x18K\x01\x03@\x86'
[0xBEFB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=1, *is_reply=True)
[0xBEFB:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xBEFB:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:4:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:2:0x0006] Received ZCL frame: b'\x18Q\x01\x00\x00\x00\x10\x01'
[0xBEFB:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=1, *is_reply=True)
[0xBEFB:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xBEFB:2:0x0006]: finished channel initialization
[0xBEFB:2:0x0006]: 'async_initialize' stage succeeded
[0xBEFB:3:0x0006] Received ZCL frame: b'\x18S\x01\x00\x00\x00\x10\x01'
[0xBEFB:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=1, *is_reply=True)
[0xBEFB:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xBEFB:3:0x0006]: finished channel initialization
[0xBEFB:3:0x0006]: 'async_initialize' stage succeeded
[0xBEFB:4:0x0006] Received ZCL frame: b'\x18U\x01\x00\x00\x00\x10\x01'
[0xBEFB:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=85, command_id=1, *is_reply=True)
[0xBEFB:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xBEFB:4:0x0006]: finished channel initialization
[0xBEFB:4:0x0006]: 'async_initialize' stage succeeded
[0xbefb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xBEFB:5:0x0006]: failed to get attributes '['start_up_on_off']' on 'on_off' cluster: 
[0xBEFB:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 0.8s
[0xBEFB:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[0xBEFB:1:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 0.8s
[0xBEFB:5:0x0006]: initializing channel: from_cache: False
[0xBEFB:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=87, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387])
[0xBEFB:1:0x0006]: initializing channel: from_cache: False
[0xBEFB:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[0xBEFB:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[0xBEFB:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:1:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=89, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:5:0x0006] Received ZCL frame: b'\x18W\x01\x03@\x86'
[0xBEFB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=87, command_id=1, *is_reply=True)
[0xBEFB:5:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xBEFB:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[0xBEFB:5:0x0006]: Reading attributes in chunks: ['on_off']
[0xBEFB:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=91, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xBEFB:1:0x0006] Received ZCL frame: b'\x18Y\x01\x00\x00\x00\x10\x01'
[0xBEFB:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=89, command_id=1, *is_reply=True)
[0xBEFB:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xBEFB:1:0x0006]: finished channel initialization
[0xBEFB:1:0x0006]: 'async_initialize' stage succeeded
[0xBEFB:1:0x0000]: 'async_initialize' stage succeeded
[0xBEFB:1:0x0003]: 'async_initialize' stage succeeded
[0xBEFB:1:0x0019]: 'async_initialize' stage succeeded
[0xBEFB:5:0x0006] Received ZCL frame: b'\x18[\x01\x00\x00\x00\x10\x01'
[0xBEFB:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=91, command_id=1, *is_reply=True)
[0xBEFB:5:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xBEFB:5:0x0006]: finished channel initialization
[0xBEFB:5:0x0006]: 'async_initialize' stage succeeded
[0xBEFB](TS011F): power source: Mains
[0xBEFB](TS011F): completed initialization
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
start_up_on_off is not supported - skipping ZHAStartupOnOffSelectEntity entity creation
[0xBEFB:1:0x0000] Received ZCL frame: b'\x08\xec\n\x01\x00 C\xe2\xff 0\xe4\xff \x01'
[0xBEFB:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=236, command_id=10, *is_reply=True)
[0xBEFB:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=67)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=48)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=1))])
[0xBEFB:1:0x0000] Received command 0x0A (TSN 236): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=67)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=48)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=1))])
[0xBEFB:1:0x0000] Attribute report received: app_version=67, 0xFFE2=48, 0xFFE4=1
[0xBEFB:1:0x0000] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=236, command_id=<GeneralCommand.Default_Response: 11>, *is_reply=True)
[0xBEFB:1:0x0000] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
[0xbefb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xbefb:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xbefb:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
Device 0xe0af (a4:c1:38:84:36:44:41:d7) joined the network
Device a4:c1:38:84:36:44:41:d7 changed id (0xe0af => 0xe0af)
[0xe0af] Skipping initialization, device is fully initialized
Device is initialized <Plug_4AC_2USB_xenon model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xE0AF ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
[0xe0af:zdo] ZDO request ZDOCmd.Device_annce: [0xE0AF, a4:c1:38:84:36:44:41:d7, 142]
device - 57519:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: False
device - 57519:a4:c1:38:84:36:44:41:d7 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 57519:a4:c1:38:84:36:44:41:d7
[57519](TS011F): started configuration
[57519:ZDO](TS011F): 'async_configure' stage succeeded
[57519:1:0x0006]: Performing cluster binding
[57519:1:0x0000]: Configuring cluster attribute reporting
[57519:1:0x0000]: finished channel configuration
[57519:1:0x0003]: Configuring cluster attribute reporting
[57519:1:0x0003]: finished channel configuration
[57519:1:0x0019]: finished channel configuration
[57519:2:0x0006]: Performing cluster binding
[57519:3:0x0006]: Performing cluster binding
[57519:4:0x0006]: Performing cluster binding
[57519:5:0x0006]: Performing cluster binding
[0xe0af] Delivery error for seq # 0x60, on endpoint id 0 cluster 0x0021: message send failure
[57519:2:0x0006]: Failed to bind 'on_off' cluster: [0xe0af:0:0x0021]: Message send failure
[57519:2:0x0006]: Configuring cluster attribute reporting
[0xE0AF:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=104, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xE0AF:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xe0af] Delivery error for seq # 0x62, on endpoint id 0 cluster 0x0021: message send failure
[57519:3:0x0006]: Failed to bind 'on_off' cluster: [0xe0af:0:0x0021]: Message send failure
[57519:3:0x0006]: Configuring cluster attribute reporting
[0xE0AF:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=106, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xE0AF:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xe0af] Delivery error for seq # 0x64, on endpoint id 0 cluster 0x0021: message send failure
[57519:4:0x0006]: Failed to bind 'on_off' cluster: [0xe0af:0:0x0021]: Message send failure
[57519:4:0x0006]: Configuring cluster attribute reporting
[0xE0AF:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=108, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xE0AF:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xe0af] Delivery error for seq # 0x66, on endpoint id 0 cluster 0x0021: message send failure
[57519:5:0x0006]: Failed to bind 'on_off' cluster: [0xe0af:0:0x0021]: Message send failure
[57519:5:0x0006]: Configuring cluster attribute reporting
[0xE0AF:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=110, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xE0AF:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xe0af] Delivery error for seq # 0x68, on endpoint id 2 cluster 0x0006: message send failure
[57519:2:0x0006]: failed to set reporting on 'on_off' cluster for: [0xe0af:2:0x0006]: Message send failure
[57519:2:0x0006]: finished channel configuration
[57519:2:0x0006]: 'async_configure' stage succeeded
[57519:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[57519:1:0x0006]: Configuring cluster attribute reporting
[0xE0AF:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=112, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xE0AF:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xe0af] Delivery error for seq # 0x6a, on endpoint id 3 cluster 0x0006: message send failure
[57519:3:0x0006]: failed to set reporting on 'on_off' cluster for: [0xe0af:3:0x0006]: Message send failure
[57519:3:0x0006]: finished channel configuration
[57519:3:0x0006]: 'async_configure' stage succeeded
[0xe0af] Delivery error for seq # 0x6c, on endpoint id 4 cluster 0x0006: message send failure
[57519:4:0x0006]: failed to set reporting on 'on_off' cluster for: [0xe0af:4:0x0006]: Message send failure
[57519:4:0x0006]: finished channel configuration
[57519:4:0x0006]: 'async_configure' stage succeeded
[0xe0af] Delivery error for seq # 0x6e, on endpoint id 5 cluster 0x0006: message send failure
[57519:5:0x0006]: failed to set reporting on 'on_off' cluster for: [0xe0af:5:0x0006]: Message send failure
[57519:5:0x0006]: finished channel configuration
[57519:5:0x0006]: 'async_configure' stage succeeded
[0xe0af] Delivery error for seq # 0x70, on endpoint id 1 cluster 0x0006: message send failure
[57519:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0xe0af:1:0x0006]: Message send failure
[57519:1:0x0006]: finished channel configuration
[57519:1:0x0006]: 'async_configure' stage succeeded
[57519:1:0x0000]: 'async_configure' stage succeeded
[57519:1:0x0003]: 'async_configure' stage succeeded
[57519:1:0x0019]: 'async_configure' stage succeeded
[57519](TS011F): completed configuration
[57519](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656135884.904415)
[0xE0AF:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=114, command_id=64, *is_reply=False)
[0xE0AF:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0xe0af:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0xe0af:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0xe0af] Delivery error for seq # 0x72, on endpoint id 1 cluster 0x0003: message send failure
[57519:1:0x0003]: command failed: 'trigger_effect' args: '(2, 0)' kwargs '{}' exception: '[0xe0af:1:0x0003]: Message send failure'
[57519](TS011F): Update device availability -  device available: False - new availability: True - changed: True
[57519](TS011F): Device availability changed and device became available, reinitializing channels
[57519](TS011F): started initialization
[57519:ZDO](TS011F): 'async_initialize' stage succeeded
[57519:1:0x0006]: initializing channel: from_cache: False
[57519:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:1:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=116, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[57519:1:0x0000]: initializing channel: from_cache: False
[57519:1:0x0000]: finished channel initialization
[57519:1:0x0003]: initializing channel: from_cache: False
[57519:1:0x0003]: finished channel initialization
[57519:1:0x0019]: initializing channel: from_cache: False
[57519:1:0x0019]: finished channel initialization
[57519:2:0x0006]: initializing channel: from_cache: False
[57519:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:2:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=118, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[57519:3:0x0006]: initializing channel: from_cache: False
[57519:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:3:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=120, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[57519:4:0x0006]: initializing channel: from_cache: False
[57519:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:4:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=122, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[57519:5:0x0006]: initializing channel: from_cache: False
[57519:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:5:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=124, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xE0AF:2:0x0006] Received ZCL frame: b'\x18h\x07\x00\x00\x00\x00'
[0xE0AF:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=104, command_id=7, *is_reply=True)
[0xE0AF:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xE0AF:2:0x0006] Received command 0x07 (TSN 104): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xe0af] Delivery error for seq # 0x74, on endpoint id 1 cluster 0x0006: message send failure
[57519:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0xe0af:1:0x0006]: Message send failure
[57519:1:0x0006]: async_initialize: retryable request #1 failed: [0xe0af:1:0x0006]: Message send failure. Retrying in 1.1s
[0xE0AF:1:0x0006] Received ZCL frame: b'\x18p\x07\x00\x00\x00\x00'
[0xE0AF:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=112, command_id=7, *is_reply=True)
[0xE0AF:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xE0AF:1:0x0006] Received command 0x07 (TSN 112): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0xE0AF:1:0x0003] Received ZCL frame: b'\x18r\x0b@\x00'
[0xE0AF:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=114, command_id=11, *is_reply=True)
[0xE0AF:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xE0AF:1:0x0003] Received command 0x0B (TSN 114): Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0xE0AF:1:0x0006] Received ZCL frame: b'\x18t\x01\x00\x00\x00\x10\x01'
[0xE0AF:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=116, command_id=1, *is_reply=True)
[0xE0AF:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xE0AF:1:0x0006] Received command 0x01 (TSN 116): Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xE0AF:2:0x0006] Received ZCL frame: b'\x18v\x01\x00\x00\x00\x10\x01'
[0xE0AF:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=118, command_id=1, *is_reply=True)
[0xE0AF:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[57519:2:0x0006]: finished channel initialization
[57519:2:0x0006]: 'async_initialize' stage succeeded
[0xE0AF:3:0x0006] Received ZCL frame: b'\x18x\x01\x00\x00\x00\x10\x01'
[0xE0AF:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=120, command_id=1, *is_reply=True)
[0xE0AF:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[57519:3:0x0006]: finished channel initialization
[57519:3:0x0006]: 'async_initialize' stage succeeded
[0xe0af:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xe0af:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[57519:1:0x0006]: initializing channel: from_cache: False
[57519:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:1:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=126, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xE0AF:1:0x0006] Received ZCL frame: b'\x18~\x01\x00\x00\x00\x10\x01'
[0xE0AF:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=126, command_id=1, *is_reply=True)
[0xE0AF:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[57519:1:0x0006]: finished channel initialization
[57519:1:0x0006]: 'async_initialize' stage succeeded
[57519:1:0x0000]: 'async_initialize' stage succeeded
[57519:1:0x0003]: 'async_initialize' stage succeeded
[57519:1:0x0019]: 'async_initialize' stage succeeded
[0xe0af:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xe0af:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xE0AF:1:0x0006] Received ZCL frame: b'\x18t\x01\x00\x00\x00\x10\x01'
[0xE0AF:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=116, command_id=1, *is_reply=True)
[0xE0AF:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xE0AF:1:0x0006] Received command 0x01 (TSN 116): Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[0xe0af:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xe0af:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[57519:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[57519:4:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 0.8s
[57519:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[57519:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 1.1s
[0xe0af:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xe0af:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[57519:4:0x0006]: initializing channel: from_cache: False
[57519:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:4:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=128, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xE0AF:4:0x0006] Received ZCL frame: b'\x18\x80\x01\x00\x00\x00\x10\x01'
[0xE0AF:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=128, command_id=1, *is_reply=True)
[0xE0AF:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[57519:4:0x0006]: finished channel initialization
[57519:4:0x0006]: 'async_initialize' stage succeeded
[57519:5:0x0006]: initializing channel: from_cache: False
[57519:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[57519:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[57519:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[57519:5:0x0006]: Reading attributes in chunks: ['on_off']
[0xE0AF:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=130, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xE0AF:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0xE0AF:5:0x0006] Received ZCL frame: b'\x18\x82\x01\x00\x00\x00\x10\x01'
[0xE0AF:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=130, command_id=1, *is_reply=True)
[0xE0AF:5:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[57519:5:0x0006]: finished channel initialization
[57519:5:0x0006]: 'async_initialize' stage succeeded
[57519](TS011F): power source: Mains
[57519](TS011F): completed initialization
Device 0x6083 (a4:c1:38:84:36:44:41:d7) joined the network
Device a4:c1:38:84:36:44:41:d7 changed id (0x6083 => 0x6083)
[0x6083] Skipping initialization, device is fully initialized
Device is initialized <Plug_4AC_2USB_xenon model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0x6083 ieee=a4:c1:38:84:36:44:41:d7 is_initialized=True>
[0x6083:zdo] ZDO request ZDOCmd.Device_annce: [0x6083, a4:c1:38:84:36:44:41:d7, 142]
device - 24707:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: False
device - 24707:a4:c1:38:84:36:44:41:d7 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 24707:a4:c1:38:84:36:44:41:d7
[24707](TS011F): started configuration
[24707:ZDO](TS011F): 'async_configure' stage succeeded
[24707:1:0x0006]: Performing cluster binding
[24707:1:0x0000]: Configuring cluster attribute reporting
[24707:1:0x0000]: finished channel configuration
[24707:1:0x0003]: Configuring cluster attribute reporting
[24707:1:0x0003]: finished channel configuration
[24707:1:0x0019]: finished channel configuration
[24707:2:0x0006]: Performing cluster binding
[24707:3:0x0006]: Performing cluster binding
[24707:4:0x0006]: Performing cluster binding
[24707:5:0x0006]: Performing cluster binding
[24707:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[24707:1:0x0006]: Configuring cluster attribute reporting
[0x6083:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=142, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x6083:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x6083] Delivery error for seq # 0x8e, on endpoint id 1 cluster 0x0006: message send failure
[24707:1:0x0006]: failed to set reporting on 'on_off' cluster for: [0x6083:1:0x0006]: Message send failure
[24707:1:0x0006]: finished channel configuration
[24707:1:0x0006]: 'async_configure' stage succeeded
[24707:1:0x0000]: 'async_configure' stage succeeded
[24707:1:0x0003]: 'async_configure' stage succeeded
[24707:1:0x0019]: 'async_configure' stage succeeded
[24707:2:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[24707:2:0x0006]: Configuring cluster attribute reporting
[0x6083:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=144, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x6083:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[24707:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[24707:3:0x0006]: Configuring cluster attribute reporting
[0x6083:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=146, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x6083:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[24707:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[24707:4:0x0006]: Configuring cluster attribute reporting
[0x6083:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=148, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x6083:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x6083:1:0x0006] Received ZCL frame: b'\x18\x8e\x07\x00\x00\x00\x00'
[0x6083:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=142, command_id=7, *is_reply=True)
[0x6083:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x6083:1:0x0006] Received command 0x07 (TSN 142): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[24707:5:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[24707:5:0x0006]: Configuring cluster attribute reporting
[0x6083:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=150, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x6083:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x6083:2:0x0006] Received ZCL frame: b'\x18\x90\x07\x00\x00\x00\x00'
[0x6083:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=144, command_id=7, *is_reply=True)
[0x6083:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[24707:2:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[24707:2:0x0006]: finished channel configuration
[24707:2:0x0006]: 'async_configure' stage succeeded
[0x6083] Delivery error for seq # 0x96, on endpoint id 5 cluster 0x0006: message send failure
[24707:5:0x0006]: failed to set reporting on 'on_off' cluster for: [0x6083:5:0x0006]: Message send failure
[24707:5:0x0006]: finished channel configuration
[24707:5:0x0006]: 'async_configure' stage succeeded
[0x6083:3:0x0006] Received ZCL frame: b'\x18\x92\x07\x00\x00\x00\x00'
[0x6083:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=146, command_id=7, *is_reply=True)
[0x6083:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[24707:3:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[24707:3:0x0006]: finished channel configuration
[24707:3:0x0006]: 'async_configure' stage succeeded
[0x6083:4:0x0006] Received ZCL frame: b'\x18\x94\x07\x00\x00\x00\x00'
[0x6083:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=148, command_id=7, *is_reply=True)
[0x6083:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[24707:4:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[24707:4:0x0006]: finished channel configuration
[24707:4:0x0006]: 'async_configure' stage succeeded
[24707](TS011F): completed configuration
[24707](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_cfnprab5 TS011F', ieee='a4:c1:38:84:36:44:41:d7', last_seen=1656135897.526407)
[0x6083:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=152, command_id=64, *is_reply=False)
[0x6083:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x6083:5:0x0006] Received ZCL frame: b'\x18\x96\x07\x00\x00\x00\x00'
[0x6083:5:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=150, command_id=7, *is_reply=True)
[0x6083:5:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x6083:5:0x0006] Received command 0x07 (TSN 150): Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x6083:1:0x0003] Received ZCL frame: b'\x18\x98\x0b@\x00'
[0x6083:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=152, command_id=11, *is_reply=True)
[0x6083:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[24707:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[24707](TS011F): Update device availability -  device available: False - new availability: True - changed: True
[24707](TS011F): Device availability changed and device became available, reinitializing channels
[24707](TS011F): started initialization
[24707:ZDO](TS011F): 'async_initialize' stage succeeded
[24707:1:0x0006]: initializing channel: from_cache: False
[24707:1:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:1:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:1:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=154, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[24707:1:0x0000]: initializing channel: from_cache: False
[24707:1:0x0000]: finished channel initialization
[24707:1:0x0003]: initializing channel: from_cache: False
[24707:1:0x0003]: finished channel initialization
[24707:1:0x0019]: initializing channel: from_cache: False
[24707:1:0x0019]: finished channel initialization
[24707:2:0x0006]: initializing channel: from_cache: False
[24707:2:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:2:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:2:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=156, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[24707:3:0x0006]: initializing channel: from_cache: False
[24707:3:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:3:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:3:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:3:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=158, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:3:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[24707:4:0x0006]: initializing channel: from_cache: False
[24707:4:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:4:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:4:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:4:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=160, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:4:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[24707:5:0x0006]: initializing channel: from_cache: False
[24707:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=162, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x6083:1:0x0006] Received ZCL frame: b'\x18\x9a\x01\x00\x00\x00\x10\x01'
[0x6083:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=154, command_id=1, *is_reply=True)
[0x6083:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[24707:1:0x0006]: finished channel initialization
[24707:1:0x0006]: 'async_initialize' stage succeeded
[24707:1:0x0000]: 'async_initialize' stage succeeded
[24707:1:0x0003]: 'async_initialize' stage succeeded
[24707:1:0x0019]: 'async_initialize' stage succeeded
[0x6083:2:0x0006] Received ZCL frame: b'\x18\x9c\x01\x00\x00\x00\x10\x01'
[0x6083:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=156, command_id=1, *is_reply=True)
[0x6083:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[24707:2:0x0006]: finished channel initialization
[24707:2:0x0006]: 'async_initialize' stage succeeded
[0x6083:3:0x0006] Received ZCL frame: b'\x18\x9e\x01\x00\x00\x00\x10\x01'
[0x6083:3:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=158, command_id=1, *is_reply=True)
[0x6083:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[24707:3:0x0006]: finished channel initialization
[24707:3:0x0006]: 'async_initialize' stage succeeded
[0x6083:4:0x0006] Received ZCL frame: b'\x18\xa0\x01\x00\x00\x00\x10\x01'
[0x6083:4:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=160, command_id=1, *is_reply=True)
[0x6083:4:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
[24707:4:0x0006]: finished channel initialization
[24707:4:0x0006]: 'async_initialize' stage succeeded
[0x6083:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x6083:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x6083:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x6083:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x6083:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x6083:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x6083:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x6083:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[24707:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: 
[24707:5:0x0006]: async_initialize: retryable request #1 failed: . Retrying in 1.1s
[24707:5:0x0006]: initializing channel: from_cache: False
[24707:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=164, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x6083] Delivery error for seq # 0xa4, on endpoint id 5 cluster 0x0006: message send failure
[24707:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0x6083:5:0x0006]: Message send failure
[24707:5:0x0006]: async_initialize: retryable request #2 failed: [0x6083:5:0x0006]: Message send failure. Retrying in 1.0s
[24707:5:0x0006]: initializing channel: from_cache: False
[24707:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=166, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x6083] Delivery error for seq # 0xa6, on endpoint id 5 cluster 0x0006: message send failure
[24707:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0x6083:5:0x0006]: Message send failure
[24707:5:0x0006]: async_initialize: retryable request #3 failed: [0x6083:5:0x0006]: Message send failure. Retrying in 2.8s
[24707:5:0x0006]: initializing channel: from_cache: False
[24707:5:0x0006]: initializing cached channel attributes: ['start_up_on_off']
[24707:5:0x0006]: Reading attributes in chunks: ['start_up_on_off']
[24707:5:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
[24707:5:0x0006]: Reading attributes in chunks: ['on_off']
[0x6083:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=168, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x6083:5:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x6083] Delivery error for seq # 0xa8, on endpoint id 5 cluster 0x0006: message send failure
[24707:5:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: [0x6083:5:0x0006]: Message send failure
[24707:5:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), DeliveryError('[0x6083:5:0x0006]: Message send failure'), DeliveryError('[0x6083:5:0x0006]: Message send failure'), DeliveryError('[0x6083:5:0x0006]: Message send failure')]
[24707:5:0x0006]: 'async_initialize' stage succeeded
[24707](TS011F): power source: Mains
[24707](TS011F): completed initialization
[0x0000](ConBee II): Device seen - marking the device available and resetting counter
[0x0000](ConBee II): Update device availability -  device available: True - new availability: True - changed: False
[0xE612](lumi.sensor_magnet.aq2): Device seen - marking the device available and resetting counter
[0xE612](lumi.sensor_magnet.aq2): Update device availability -  device available: True - new availability: True - changed: False
[24707](TS011F): Device seen - marking the device available and resetting counter
[24707](TS011F): Update device availability -  device available: True - new availability: True - changed: False

Other things I noticed:

  • The pairing process in Home Assistant shows device ready, then after a few seconds it goes back to initializing and a few seconds after that it shows device ready again. This repeats a few times. Every time it shows device ready all five switches are shown, so it doesn't seem like the power strip is changing anything obvious. Then it shows device ready again and stays this way, but the device does not work. But if I try to change one of the switches before it disappears and shows up again, the power strip responds and turns on/off all sockets, but this only works one time, then its completely dead until I remove it from the network and pair it again, as always.
  • The light on the power strip does not stop flashing after Home Assistant shows device ready. I dont have any other gateway to test it with but I would assume the pairing light would stop flashing after the device is successfully connected.

@javicalle
Copy link
Collaborator

The spell is casted at the first pairing:

[0xBEFB:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=45, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xBEFB:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 0, 1, 5, 7, 65534])
.../...
device - 0xBEFB:a4:c1:38:84:36:44:41:d7 entering async_device_initialized - is_new_join: True
device - 0xBEFB:a4:c1:38:84:36:44:41:d7 has joined the ZHA zigbee network
[0xBEFB](TS011F): started configuration
.../...
[0xBEFB:1:0x0000] Received ZCL frame: b'\x18-\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x00\x00\x00 \x03\x01\x00\x00 C\x05\x00\x00B\x06TS011F\x07\x00\x000\x01\xfe\xff\x000\x00'
[0xBEFB:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=45, command_id=1, *is_reply=True)
[0xBEFB:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(
  status_records=[
    ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), 
    ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=3)), 
    ReadAttributeRecord(attrid=0x0001, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=67)), 
    ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F')), 
    ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x01: 1>)), 
    ReadAttributeRecord(attrid=0xFFFE, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x00: 0>))])

But as you said, seems that device keeps pairing again and again, every time with a diferent nwk address, but I can see any reason for that.

This is something new with the last change (the EnchantedDevice part) or already happens before the change?

@tim-geier
Copy link
Author

This happens with every configuration, regardless of the active quirk or without any. I just didn't know thats not normal until now.

@javicalle
Copy link
Collaborator

Looking at zigbee-herdsman-converters library for some 'inspiration' I have found something that probably not related to that case but...

There is a case in which I interpret that there is some kind of 'bind' between each of the sockets and the 'coordinator'. I'm not sure what you mean or how it could be implemented here, but does what I say make sense to anyone?

@javicalle
Copy link
Collaborator

Ummmm, there is a especific converter for this device:

From my understand the quirk is casting the Tuya spell and then doing this reporting binding bettwen endpoints. I'm going to try to understand what that second part does.

@yruss972
Copy link
Contributor

@javicalle I noticed that converter but I'm not sure it's actually the same device.
They list the model as SM-SO306E-2W which I've had for maybe a year already and it works out of the box in ZHA using the ts011f_plug.Plug_4AC_2USB quirk. It shows for me as having the manufacturer: _TZ3000_o005nuxx.

I actually bought these devices thinking they were the SM-SO306E-2W which I had working but got the SM-SO306E-1Z model with the _TZ3000_cfnprab5 manufacturer instead and, as we saw above, they don't have all the same endpoints-

Could that have something to do with the "spell"? I'm not really sure what the spell is supposed to do but I saw someone mention that it enables additional endpoints? maybe once spelled, they have the same signatures?

Does using EnchantedDevice cast the spell or is something more complicated needed?
FYI, I tried to cast the spell on the device manually using zha-toolkit but it only generated a mess of errors so I gave up.

@javicalle
Copy link
Collaborator

Hi there Yonah,
the _TZ3000_cfnprab5 manufacturer is the one in the useelink.js file. Is one of the few references I have found so I will take as a starting point.

That Tuya 'spell' is something that has been discovered sniffing the pairing process with the Tuya gateway. Some (recent) Tuya devices need to get it to behave a little more 'standar' zigbee device.

And yes, the EnchantedDevice class is in command to 'cast' that spell during the pairing proccess.

But (if I'm not wrong) most users are reporting that the pairing proccess keep going in bucle, so maybe device is expecting something else appart that spell...

@javicalle
Copy link
Collaborator

javicalle commented Aug 11, 2022

I have some kind of crazy quirk based on nothing but I'm away from my development PC. If someone want to try...

My proposal would be:

It would be something like (not tested):

Crazy test Plug_4AC_2USB_xenon(EnchantedDevice)
"""TS011F plug."""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks import GroupBoundCluster
from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaNewManufCluster,
    TuyaZBE000Cluster,
    TuyaZBElectricalMeasurement,
    TuyaZBExternalSwitchTypeCluster,
    TuyaZBMeteringCluster,
    TuyaZBOnOffAttributeCluster,
)
from zhaquirks.tuya.mcu import EnchantedDevice


class OnOffGroupCluster(GroupBoundCluster, OnOff):
    """On/Off Cluster which only binds to a group."""


class Plug_4AC_2USB_xenon(EnchantedDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=[0, 3, 4, 5, 6, 57344, 57345]
            # output_clusters=[10, 25]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            # <SimpleDescriptor endpoint=2 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=3 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=4 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=5 profile=260 device_type=266
            # device_version=1
            # input_clusters=[3, 4, 5, 6, 57344, 57345]
            # output_clusters=[]>
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=242 profile=41440 device_type=97
            # device_version=1
            # input_clusters=[]
            # output_clusters=[33]>
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOffGroupCluster,
                    TuyaZBE000Cluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOffGroupCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOffGroupCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOffGroupCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOffGroupCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

What would do that GroupBoundCluster? I'm not sure. Maybe it would not even start...

@yruss972
Copy link
Contributor

I don't know how this could possibly be helpful but after a bunch of random changes, both my devices are working with my quirk. Approximately I think this is what happened:

  1. I enabled debugging as follows:
logger:
  default: info
  logs:
    homeassistant.core: debug
    homeassistant.components.zha: debug
    zigpy: debug
    zigpy_deconz.zigbee.application: debug
    zigpy_deconz.api: debug
    zhaquirks: debug
  1. I removed the broken devices from zha and reboot my host and noticed a bunch of really weird uart errors - seemed to me like a race condition- that the raspbee I use wasn't ready yet when ZHA started trying to use it and HA got all borked.

  2. I restarted (not rebooted) HA and those errors went away.

  3. I went into the ZHA integration configure menu and clicked update without changing anything

  4. I went into the ZHA integration system options menu and clicked update without changing anything

  5. I reloaded the ZHA integration

  6. I paired the devices again and it magically worked :?

Since it worked, I've done a couple cycles of restarting HA and reloading the ZHA integration.
I've also disabled the debugging just in case the debugging affected something and it all still works.

I'm attaching my quirk.
ts011f_plug.py.txt

@javicalle
Copy link
Collaborator

I'm so glad someone finally got it to work!!!

Could you test if in this device works some of the Tuya attributes?:

  • backlight_mode (0,1,2)
  • power_on_state (Off:0, On:1, LastState:2)

Thanks in advanced.

@MattWestb
Copy link
Contributor

@javicalle The sniffs i have seen with tuya magic spell its looks like tuya is not configuring reporting and the device is reporting to the coordinator as default and also if its have group its reporting the the group. It can being some device is needing more reporting configured but try without first and see if its working OK and adding if needed.

@yruss972
Copy link
Contributor

yruss972 commented Aug 12, 2022

@javicalle Happy to test.
Quick description of the device:
There is one physical button which globally turns on or off the entire power strip.
There are 6 lights on the powerstrip, one for the global on/off button, one for each "switch" state.
The light for the global button can be blue, red, or a mix of blue and red.

backlight_mode:
0: the global on/off button is unlit whether on or off
1: the global on/off button is lit red when on and unlit when off
2: the global on/off button is lit red when off and unlit when on
3: the global on/off button is lit red whether on or off (returns SwitchBackLight.undefined_0x03)
4: the global on/off button is unlit whether on or off (returns SwitchBackLight.undefined_0x04)
Getting/setting the value only works on the first TuyaZBOnOffAttributeCluster. On the others, the attribute shows in HA always has a value of None and setting it doesn't seem to do anything.

child_lock:
0: shows as false, the global on/off button works as expected
1: shows as true, the global on/off button has no effect, HA can still manage the switches

power_on_state:
0: Off - when the strip looses power and regains power, the entire strip remains off (as opposed to turning on but leaving all the individual sockets unpowered
1: On - when the strip looses power and regains power, the entire strip turns on including all sockets and despite their individual last power states
2: Last State - when the strip looses and regains power, the individual sockets return to the last power state, if the global button is used, all sockets are turned on despite the last power state.

The Identify button, lqi, and rssi on the diagnostic card don't seem to work
Using manage clusters, I can't set the identify time or get the strip to blink or anything.

I don't see anything else that I can easily guess how to test but happy to try.

@javicalle
Copy link
Collaborator

@javicalle The sniffs i have seen with tuya magic spell its looks like tuya is not configuring reporting and the device is reporting to the coordinator as default and also if its have group its reporting the the group. It can being some device is needing more reporting configured but try without first and see if its working OK and adding if needed.

Thanks @MattWestb for the review. My impression was that the EnchantedDevice part was already tested by several users, that's why I was looking for something diferent. As you have pointed, it seems that there is no need to anything else than the Tuya spell.
But I'm curious about why in zigbee-herdsman-converters are casting the spell and also configuring the 'reporting.bind' (whatever it means).
Looking at the GroupBoundCluster, my assumption is that a new cluster is generated to link all the plugs so that they can all be managed at the same time (as the button usually does on power strips), but the truth is that I am assuming a lot of things without solid base.

@MattWestb
Copy link
Contributor

Then 3 user have success with the posted quirk is some one interesting making one PR so its being integrated in ZHA in the future and dont need using local quirk for getting the device working OK ?

yruss972 added a commit to yruss972/zha-device-handlers that referenced this issue Sep 7, 2022
@yruss972
Copy link
Contributor

yruss972 commented Sep 7, 2022

I've submitted a PR for the basic quirk but I don't know how to add support for the features mentioned here: #1632 (comment)

If anyone can give me guidance there, I'd love to get as much working as possible.

@harveyorg
Copy link

pasting the code from @yruss972 into the ts011f_plug.py worked for me.
-setup the dev containers extension in vs code (trying to work in bash in the container console in Portainer is hard work)

  • opened the file, pasted in the Plug_4AC_2USB_cfnprab5 class, saved
  • restarted HA
  • removed the device from ZHA and went through pairing again

done - bit concerned my hack will be overwritten during the next update though.

image

@dmulcahey
Copy link
Collaborator

@harveyorg can you open a PR with the changes?

@KaiserSoft
Copy link

KaiserSoft commented Oct 17, 2022

Very nice, I want to add my "works for me as well" to this fix.
I added the class found in the comment #1632 (comment) to the bottom of /usr/local/lib/python3.10/site-packages/zhaquirks/tuya/ts011f_plug.py

Removed the device, restarted HA, rejoined the device and it works as expected!

Previously it triggered all outlets when I tried to turn a single one on. Now it works like the one I purchased a long time ago. I can control every outlet individually and my old unit still works as well.
Thanks a lot!

@fasteddie-g
Copy link

fasteddie-g commented Nov 13, 2022

Appreciate all the comments/suggestions above. I've read through several times and tried repeating the steps with no luck.

I have a HomeAssistant Blue running the "latest" version of HomeAssistant with all updates installed. I use a HubZ for Zwave and Zigbee devices. I have 36 Zwave devices and 15 Zigbee devices.

I wanted a power strip where I could control individual outlets, so I bought this US version Zigbee power strip, Model: SM-SO306-U on the box, and Model: S-SO306 on the actual power strip. FCC ID: 2AJ5F-SM-SO306. It's being recognized in Home Assistant as TS011F by _TZ3000_cfnprab5 (this is the same as others above).

The manufacturer link is here, and it's also mentioned on this Zigbee blackadder site. On the manufacturer's site, its noted as SM-SO306-U2Z.

In researching my issue, it appears there are 2 symptoms: toggle one plug on/off affects all plugs, or, unable to toggle any plugs (my symptom). I've tried adding multiple quirks including the one mentioned above by yruss972 (following same procedure used), but all result in the same inability to control any of the plugs.

below is added to my configuration.yaml

zha:
  enable_quirks: true
  custom_quirks_path: /config/zha_quirks/  

and, ts011f_plug.py was uploaded to and is located in /config/zha_quirks/. I've rebooted numerous times, removing, readding the device with the same outcome - unable to control any of the plugs.

I'm lost as to what my next steps are. Any help/guidance would be greatly appreciated.

Diagnostic Info
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "5.15.74",
    "supervisor": "2022.10.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "zha_toolkit": {
      "version": "v0.8.23",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "keymaster": {
      "version": "v0.0.82",
      "requirements": []
    },
    "fordpass": {
      "version": "0.1.37",
      "requirements": []
    },
    "alexa_media": {
      "version": "4.3.2",
      "requirements": [
        "alexapy==1.26.4",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "dwains_dashboard": {
      "version": "3.3.0",
      "requirements": []
    }
  },
  "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.85",
      "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": 52326,
    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4660,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -73,
    "last_seen": "2022-11-12T19:48:27",
    "available": true,
    "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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "2": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "3": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "4": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "5": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.tz3000_cfnprab5_ts011f_identify",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_2",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_3",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_4",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_5",
        "name": "_TZ3000_cfnprab5 TS011F"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "dae136678dadbce01e0bbeeef1872278",
    "area_id": null,
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3000_cfnprab5"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS011F"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "2": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "3": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "4": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "5": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      }
    }
  }

@MattWestb
Copy link
Contributor

Your device is unknown and need being added in the quirk so the system is knowing it and can applying the fix.

    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",

@fasteddie-g
Copy link

fasteddie-g commented Nov 13, 2022

Thanks for the quick reply. The original poster had the same exact info in his diagnostic info

   "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",

I agree the device is unknown, I just do not understand how to make it known despite my searches. Is it as simple as editing the ts011f_plug.py file to include info to identify/map the device? Thanks in advance for any guidance you can provide.

@MattWestb
Copy link
Contributor

I have looking on the original posted device signature and its having the same "_TZ3000_cfnprab5" but your is having the same but the signature looks complete different so its not helping.

Can you delete the device from ZHA and waiting one minute and adding it agen and then all is stable and working "normal" downloading the diagnostic from the device card and posting it one more time ?

@javicalle
Copy link
Collaborator

javicalle commented Nov 13, 2022

Hi @fasteddie-g ,
yours has another flawor from Tuya devices and will need a new quirk to work.

Please, restore the original tx011f_plug.py file version and add this quirk at the end of the file:

Plug_4AC_2USB_Var04
class Plug_4AC_2USB_Var04(EnchantedDevice):
    """Tuya 4 outlet + 2 USB (variation 04))."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
            # output_clusters=[]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }

Remove any __pycache__ folder from your local quirk, restart HA and repair your device.

@fasteddie-g
Copy link

Thank you both! @javicalle Thank you for taking the time to provide the updated class. I believe I made the changes as recommended, I didn't see any pycache folder anywhere in file editor (/config or subdirs like zha_quirks/), but HA still doesn't appear to be picking up the quirk when the device is added, and the behavior is the same where I'm unable to control any of the individual plugs (or the entire strip). I've modified templates to get some unknown Zwave devices to work in the past (like Yale locks), but I'm new to Zigbee. So I sincerely appreciate the assistance & suggestions.

Just to provide context in case I am missing something, or following an incorrect process. Below are my configuration.yaml, Diagnostic info, and updated ts011f_plug.py file. When I try to add the device, I follow these steps:

  1. Ensure all targeted configs (configuration.yaml, quirks files, etc) are in their desired state.
  2. Power strip device (_TZ3000_cfnprab5 TS011F) is removed from Zigbee Home Automation (ZHA)
  3. Restart HomeAssistant
  4. Once HomeAssistant is fully loaded
    a. ZHA - "Add device"
    b. Power strip - Hold power button for 5 seconds to reset/put into pairing mode
    c. Wait ~1 minute and check status of device in HomeAssistant

Any idea on next steps? Anything else I should be checking/confirming or doing?

configuration.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

zha:
  enable_quirks: true
  custom_quirks_path: /config/zha_quirks/

zha_toolkit:

logger:
  # The next line sets the default logging level, for all python modules.
  # It seems "recommended" to set it to avoid too much logging.
  default: warning
  logs:
    custom_components.zha_toolkit: debug
    zigpy: debug
    zhaquirks: debug
    homeassistant.components.zha: debug
Updated /config/zha_quirks/ts011f_plug.py
"""TS011F plug."""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaNewManufCluster,
    TuyaZBE000Cluster,
    TuyaZBElectricalMeasurement,
    TuyaZBExternalSwitchTypeCluster,
    TuyaZBMeteringCluster,
    TuyaZBOnOffAttributeCluster,
)
from zhaquirks.tuya.mcu import EnchantedDevice


class Plug_4AC_2USB_cfnprab5(EnchantedDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=[0, 3, 4, 5, 6, 57344, 57345]
            # output_clusters=[10, 25]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            # <SimpleDescriptor endpoint=2 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=3 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=4 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=5 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=242 profile=41440 device_type=97
            # device_version=1
            # input_clusters=[]
            # output_clusters=[33]>
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBE000Cluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

class Plug_4AC_2USB_Var04(EnchantedDevice):
    """Tuya 4 outlet + 2 USB (variation 04))."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
            # output_clusters=[]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
Diagnostic Info File name = zha-780f536adbef8a3b43ae7c58a3f13f80-_TZ3000_cfnprab5 TS011F-dae136678dadbce01e0bbeeef1872278.json
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "5.15.74",
    "supervisor": "2022.10.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "zha_toolkit": {
      "version": "v0.8.23",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "keymaster": {
      "version": "v0.0.82",
      "requirements": []
    },
    "fordpass": {
      "version": "0.1.37",
      "requirements": []
    },
    "alexa_media": {
      "version": "4.3.2",
      "requirements": [
        "alexapy==1.26.4",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "dwains_dashboard": {
      "version": "3.3.0",
      "requirements": []
    }
  },
  "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.85",
      "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": 46694,
    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4660,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -70,
    "last_seen": "2022-11-13T09:26:59",
    "available": true,
    "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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "2": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "3": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "4": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "5": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.tz3000_cfnprab5_ts011f_identify",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_2",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_3",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_4",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "light.tz3000_cfnprab5_ts011f_light_5",
        "name": "_TZ3000_cfnprab5 TS011F"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      },
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "dae136678dadbce01e0bbeeef1872278",
    "area_id": null,
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3000_cfnprab5"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS011F"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "2": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "3": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "4": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "5": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      }
    }
  }
}

@javicalle
Copy link
Collaborator

Don't worry, all the steps seem fine to me.
There was an error on the proposed quirk, I have fixed all the DEVICE_TYPE definitions from the signature part (they are ON_OFF_LIGHT).
Fix or replace the quirk, check if there's a __pycache__ folder, restart HA and repair the device.

@fasteddie-g
Copy link

fasteddie-g commented Nov 13, 2022

@javicalle Thank you again. Progress - it picked up the quirk this time!! Cosmetically, the controllable entities are now switches vs plugs. But the general experience is the same - unable to control the device from HA.

I've included the most recent Diagnostic info (shows the quirk loaded), along with what I believe are the logs from the device join. Is there anything else that I can do or provide info on to help you help me?

Again, I sincerely appreciate the time and effort you're allocating to this, and to all the contributors and developers throughout the Home Assistance community.

Diagnostic info
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "5.15.74",
    "supervisor": "2022.10.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "zha_toolkit": {
      "version": "v0.8.23",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "keymaster": {
      "version": "v0.0.82",
      "requirements": []
    },
    "fordpass": {
      "version": "0.1.37",
      "requirements": []
    },
    "alexa_media": {
      "version": "4.3.2",
      "requirements": [
        "alexapy==1.26.4",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "dwains_dashboard": {
      "version": "3.3.0",
      "requirements": []
    }
  },
  "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.85",
      "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": 46081,
    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": true,
    "quirk_class": "ts011f_plug.Plug_4AC_2USB_Var04",
    "manufacturer_code": 4660,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -71,
    "last_seen": "2022-11-13T15:01:34",
    "available": true,
    "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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "2": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "3": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "4": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "5": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.tz3000_cfnprab5_ts011f_identify",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "select.tz3000_cfnprab5_ts011f_power_on_state",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_2",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_3",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_4",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_5",
        "name": "_TZ3000_cfnprab5 TS011F"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "dae136678dadbce01e0bbeeef1872278",
    "area_id": null,
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0000": {
                "attribute_name": "zcl_version",
                "value": 2
              },
              "0x0001": {
                "attribute_name": "app_version",
                "value": 100
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3000_cfnprab5"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS011F"
              },
              "0x0007": {
                "attribute_name": "power_source",
                "value": 1
              }
            },
            "unsupported_attributes": {
              "0xfffe": {
                "attribute_name": "attr_reporting_status"
              }
            }
          },
          "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
              },
              "0x8002": {
                "attribute_name": "power_on_state",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "2": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "3": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "4": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "5": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      }
    }
  }
}
HomeAssisant Core MainThread logs for device join

Filename=zha-780f536adbef8a3b43ae7c58a3f13f80-_TZ3000_cfnprab5 TS011F-dae136678dadbce01e0bbeeef1872278.json

2022-11-13 15:00:56.515 DEBUG (MainThread) [bellows.zigbee.application] Received trustCenterJoinHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, <EmberDeviceUpdate.STANDARD_SECURITY_UNSECURED_JOIN: 1>, <EmberJoinDecision.USE_PRECONFIGURED_KEY: 0>, 0x0000]
2022-11-13 15:00:56.515 INFO (MainThread) [zigpy.application] New device 0xb401 (70:b3:d5:2b:60:01:33:4b) joined the network
2022-11-13 15:00:56.516 DEBUG (MainThread) [zigpy.device] [0xb401] Scheduling initialization
2022-11-13 15:00:56.519 DEBUG (MainThread) [bellows.ezsp.protocol] Send command findKeyTableEntry: (70:b3:d5:2b:60:01:33:4b, True)
2022-11-13 15:00:56.519 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.520 INFO (MainThread) [zigpy.device] [0xb401] Requesting 'Node Descriptor'
2022-11-13 15:00:56.520 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2022-11-13 15:00:56.520 DEBUG (MainThread) [zigpy.device] [0xb401] Extending timeout for 0x45 request
2022-11-13 15:00:56.520 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=True, tsn=69, profile_id=0, cluster_id=<ZDOCmd.Node_Desc_req: 0x0002>, data=Serialized[b'E\x01\xb4'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.521 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setExtendedTimeout: (70:b3:d5:2b:60:01:33:4b, True)
2022-11-13 15:00:56.533 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 117 (findKeyTableEntry) received: b'ff'
2022-11-13 15:00:56.543 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 126 (setExtendedTimeout) received: b''
2022-11-13 15:00:56.545 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=69), 70, b'E\x01\xb4')
2022-11-13 15:00:56.559 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0013'
2022-11-13 15:00:56.582 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.582 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.583 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'04000013000000000400004effb901b4ffff0c2f01b44b3301602bd5b3708e'
2022-11-13 15:00:56.584 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_BROADCAST: 4>, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_SOURCE_EUI64: 1024>, groupId=0, sequence=78), 255, -71, 0xb401, 255, 255, b'/\x01\xb4K3\x01`+\xd5\xb3p\x8e']
2022-11-13 15:00:56.586 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.Broadcast: 15>, address=<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>), dst_ep=0, source_route=None, extended_timeout=False, tsn=78, profile_id=0, cluster_id=19, data=Serialized[b'/\x01\xb4K3\x01`+\xd5\xb3p\x8e'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:56.587 INFO (MainThread) [zigpy.application] Device 0xb401 (70:b3:d5:2b:60:01:33:4b) joined the network
2022-11-13 15:00:56.588 DEBUG (MainThread) [zigpy.device] [0xb401] Scheduling initialization
2022-11-13 15:00:56.589 DEBUG (MainThread) [zigpy.device] [0xb401] Canceling old initialize call
2022-11-13 15:00:56.589 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 19: b'/\x01\xb4K3\x01`+\xd5\xb3p\x8e'
2022-11-13 15:00:56.591 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] ZDO request ZDOCmd.Device_annce: [0xB401, 70:b3:d5:2b:60:01:33:4b, 142]
2022-11-13 15:00:56.593 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.593 INFO (MainThread) [zigpy.device] [0xb401] Requesting 'Node Descriptor'
2022-11-13 15:00:56.594 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2022-11-13 15:00:56.595 DEBUG (MainThread) [zigpy.device] [0xb401] Extending timeout for 0x47 request
2022-11-13 15:00:56.596 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=True, tsn=71, profile_id=0, cluster_id=<ZDOCmd.Node_Desc_req: 0x0002>, data=Serialized[b'G\x01\xb4'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.598 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setExtendedTimeout: (70:b3:d5:2b:60:01:33:4b, True)
2022-11-13 15:00:56.609 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 126 (setExtendedTimeout) received: b''
2022-11-13 15:00:56.610 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=71), 72, b'G\x01\xb4')
2022-11-13 15:00:56.626 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'01b44b3301602bd5b370ffb900'
2022-11-13 15:00:56.626 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, 255, -71, []]
2022-11-13 15:00:56.626 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xb401, 70:b3:d5:2b:60:01:33:4b, 255, -71, [])
2022-11-13 15:00:56.633 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000020000004001000013460000'
2022-11-13 15:00:56.634 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=19), 70, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.634 DEBUG (MainThread) [bellows.zigbee.application] Unexpected message send notification tag: 70
2022-11-13 15:00:56.636 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0014'
2022-11-13 15:00:56.646 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.646 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.647 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000002800000400d00004ffdb901b4ffff11450001b401408e34126c0000002c00000002'
2022-11-13 15:00:56.648 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32770, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=79), 253, -71, 0xb401, 255, 255, b'E\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00']
2022-11-13 15:00:56.648 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=79, profile_id=0, cluster_id=32770, data=Serialized[b'E\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=253, rssi=-71)
2022-11-13 15:00:56.649 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32770: b'E\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00'
2022-11-13 15:00:56.650 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] ZDO request ZDOCmd.Node_Desc_rsp: [<Status.SUCCESS: 0>, 0xB401, 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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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)]
2022-11-13 15:00:56.651 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_rsp([<Status.SUCCESS: 0>, 0xB401, 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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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)])
2022-11-13 15:00:56.660 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000020000004001000014480000'
2022-11-13 15:00:56.661 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=20), 72, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.681 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.682 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.682 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000002800000400d000050ffb901b4ffff11470001b401408e34126c0000002c00000002'
2022-11-13 15:00:56.682 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32770, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=80), 255, -71, 0xb401, 255, 255, b'G\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00']
2022-11-13 15:00:56.683 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=80, profile_id=0, cluster_id=32770, data=Serialized[b'G\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:56.684 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32770: b'G\x00\x01\xb4\x01@\x8e4\x12l\x00\x00\x00,\x00\x00\x00'
2022-11-13 15:00:56.686 INFO (MainThread) [zigpy.device] [0xb401] Got 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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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)
2022-11-13 15:00:56.686 INFO (MainThread) [zigpy.device] [0xb401] Discovering endpoints
2022-11-13 15:00:56.687 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.687 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=73, profile_id=0, cluster_id=<ZDOCmd.Active_EP_req: 0x0005>, data=Serialized[b'I\x01\xb4'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.688 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=5, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=73), 74, b'I\x01\xb4')
2022-11-13 15:00:56.701 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0015'
2022-11-13 15:00:56.729 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b400000500000040010000154a0000'
2022-11-13 15:00:56.730 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=5, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=21), 74, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.743 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.743 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.744 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000005800000400d000051ffb901b4ffff0a490001b405010203040502'
2022-11-13 15:00:56.744 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32773, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=81), 255, -71, 0xb401, 255, 255, b'I\x00\x01\xb4\x05\x01\x02\x03\x04\x05']
2022-11-13 15:00:56.745 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=81, profile_id=0, cluster_id=32773, data=Serialized[b'I\x00\x01\xb4\x05\x01\x02\x03\x04\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:56.745 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32773: b'I\x00\x01\xb4\x05\x01\x02\x03\x04\x05'
2022-11-13 15:00:56.747 INFO (MainThread) [zigpy.device] [0xb401] Discovered endpoints: [1, 2, 3, 4, 5]
2022-11-13 15:00:56.748 INFO (MainThread) [zigpy.device] [0xb401] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=2 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=3 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=4 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=5 in=[] out=[] status=<Status.NEW: 0>>]
2022-11-13 15:00:56.748 INFO (MainThread) [zigpy.endpoint] [0xb401:1] Discovering endpoint information
2022-11-13 15:00:56.748 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.749 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=75, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'K\x01\xb4\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.749 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=75), 76, b'K\x01\xb4\x01')
2022-11-13 15:00:56.763 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0016'
2022-11-13 15:00:56.788 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b400000400000040010000164c0000'
2022-11-13 15:00:56.789 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=22), 76, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.804 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.804 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.806 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000004800000400d000052ffba01b4ffff194b0001b414010401000101060000060003000400050001e00002'
2022-11-13 15:00:56.808 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=82), 255, -70, 0xb401, 255, 255, b'K\x00\x01\xb4\x14\x01\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00']
2022-11-13 15:00:56.809 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=82, profile_id=0, cluster_id=32772, data=Serialized[b'K\x00\x01\xb4\x14\x01\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:56.811 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'K\x00\x01\xb4\x14\x01\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'
2022-11-13 15:00:56.816 INFO (MainThread) [zigpy.endpoint] [0xb401:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=256, device_version=1, input_clusters=[0, 6, 3, 4, 5, 57345], output_clusters=[])
2022-11-13 15:00:56.817 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2022-11-13 15:00:56.820 INFO (MainThread) [zigpy.endpoint] [0xb401:2] Discovering endpoint information
2022-11-13 15:00:56.821 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.822 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=77, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'M\x01\xb4\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.824 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=77), 78, b'M\x01\xb4\x02')
2022-11-13 15:00:56.840 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0017'
2022-11-13 15:00:56.869 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b400000400000040010000174e0000'
2022-11-13 15:00:56.871 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=23), 78, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.885 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.886 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.886 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000004800000400d000053ffb901b4ffff194d0001b414020401000101060000060003000400050001e00002'
2022-11-13 15:00:56.888 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=83), 255, -71, 0xb401, 255, 255, b'M\x00\x01\xb4\x14\x02\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00']
2022-11-13 15:00:56.889 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=83, profile_id=0, cluster_id=32772, data=Serialized[b'M\x00\x01\xb4\x14\x02\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:56.891 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'M\x00\x01\xb4\x14\x02\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'
2022-11-13 15:00:56.895 INFO (MainThread) [zigpy.endpoint] [0xb401:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=256, device_version=1, input_clusters=[0, 6, 3, 4, 5, 57345], output_clusters=[])
2022-11-13 15:00:56.896 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2022-11-13 15:00:56.896 INFO (MainThread) [zigpy.endpoint] [0xb401:3] Discovering endpoint information
2022-11-13 15:00:56.896 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.897 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=79, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'O\x01\xb4\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.897 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=79), 80, b'O\x01\xb4\x03')
2022-11-13 15:00:56.911 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0018'
2022-11-13 15:00:56.936 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000040000004001000018500000'
2022-11-13 15:00:56.938 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=24), 80, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:56.952 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.952 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:56.953 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000004800000400d000054ffb901b4ffff194f0001b414030401000101060000060003000400050001e00002'
2022-11-13 15:00:56.954 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=84), 255, -71, 0xb401, 255, 255, b'O\x00\x01\xb4\x14\x03\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00']
2022-11-13 15:00:56.955 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=84, profile_id=0, cluster_id=32772, data=Serialized[b'O\x00\x01\xb4\x14\x03\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:56.958 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'O\x00\x01\xb4\x14\x03\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'
2022-11-13 15:00:56.961 INFO (MainThread) [zigpy.endpoint] [0xb401:3] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=3, profile=260, device_type=256, device_version=1, input_clusters=[0, 6, 3, 4, 5, 57345], output_clusters=[])
2022-11-13 15:00:56.962 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2022-11-13 15:00:56.962 INFO (MainThread) [zigpy.endpoint] [0xb401:4] Discovering endpoint information
2022-11-13 15:00:56.962 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:56.963 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=81, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'Q\x01\xb4\x04'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:56.964 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=81), 82, b'Q\x01\xb4\x04')
2022-11-13 15:00:56.977 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0019'
2022-11-13 15:00:56.999 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:56.999 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.000 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000002000000400d000055ffba01b4ffff0330000002'
2022-11-13 15:00:57.001 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=85), 255, -70, 0xb401, 255, 255, b'0\x00\x00']
2022-11-13 15:00:57.002 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=85, profile_id=0, cluster_id=2, data=Serialized[b'0\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.002 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 2: b'0\x00\x00'
2022-11-13 15:00:57.003 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
2022-11-13 15:00:57.003 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
2022-11-13 15:00:57.006 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000040000004001000019520000'
2022-11-13 15:00:57.007 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=25), 82, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.038 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.038 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.038 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000004800000400d000056ffb901b4ffff19510001b414040401000101060000060003000400050001e00002'
2022-11-13 15:00:57.039 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=86), 255, -71, 0xb401, 255, 255, b'Q\x00\x01\xb4\x14\x04\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00']
2022-11-13 15:00:57.039 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=86, profile_id=0, cluster_id=32772, data=Serialized[b'Q\x00\x01\xb4\x14\x04\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:57.040 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'Q\x00\x01\xb4\x14\x04\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'
2022-11-13 15:00:57.042 INFO (MainThread) [zigpy.endpoint] [0xb401:4] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=4, profile=260, device_type=256, device_version=1, input_clusters=[0, 6, 3, 4, 5, 57345], output_clusters=[])
2022-11-13 15:00:57.043 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2022-11-13 15:00:57.043 INFO (MainThread) [zigpy.endpoint] [0xb401:5] Discovering endpoint information
2022-11-13 15:00:57.043 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2022-11-13 15:00:57.043 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=83, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'S\x01\xb4\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.044 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=83), 84, b'S\x01\xb4\x05')
2022-11-13 15:00:57.057 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'001b'
2022-11-13 15:00:57.088 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 155 (zigbeeKeyEstablishmentHandler) received: b'4b3301602bd5b37006'
2022-11-13 15:00:57.089 DEBUG (MainThread) [bellows.zigbee.application] Received zigbeeKeyEstablishmentHandler frame with [70:b3:d5:2b:60:01:33:4b, <EmberKeyStatus.TC_RESPONDED_TO_KEY_REQUEST: 6>]
2022-11-13 15:00:57.102 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4000004000000400100001b540000'
2022-11-13 15:00:57.103 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=27), 84, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.131 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.131 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.131 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000004800000400d000058ffba01b4ffff19530001b414050401000101060000060003000400050001e00002'
2022-11-13 15:00:57.132 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=88), 255, -70, 0xb401, 255, 255, b'S\x00\x01\xb4\x14\x05\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00']
2022-11-13 15:00:57.132 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=88, profile_id=0, cluster_id=32772, data=Serialized[b'S\x00\x01\xb4\x14\x05\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.133 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'S\x00\x01\xb4\x14\x05\x04\x01\x00\x01\x01\x06\x00\x00\x06\x00\x03\x00\x04\x00\x05\x00\x01\xe0\x00'
2022-11-13 15:00:57.135 INFO (MainThread) [zigpy.endpoint] [0xb401:5] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=5, profile=260, device_type=256, device_version=1, input_clusters=[0, 6, 3, 4, 5, 57345], output_clusters=[])
2022-11-13 15:00:57.136 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2022-11-13 15:00:57.137 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=85, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.138 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
2022-11-13 15:00:57.138 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=85, profile_id=260, cluster_id=0, data=Serialized[b'\x00U\x00\x04\x00\x05\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.139 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=85), 86, b'\x00U\x00\x04\x00\x05\x00')
2022-11-13 15:00:57.147 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 36 (trustCenterJoinHandler) received: b'01b44b3301602bd5b3700203ffff'
2022-11-13 15:00:57.148 DEBUG (MainThread) [bellows.zigbee.application] Received trustCenterJoinHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, <EmberDeviceUpdate.DEVICE_LEFT: 2>, <EmberJoinDecision.NO_ACTION: 3>, 0xffff]
2022-11-13 15:00:57.148 INFO (MainThread) [zigpy.application] Device 0xb401 (70:b3:d5:2b:60:01:33:4b) left the network
2022-11-13 15:00:57.157 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'001d'
2022-11-13 15:00:57.180 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040100000101400100001d560000'
2022-11-13 15:00:57.181 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=29), 86, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.198 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.198 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.198 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100000101400d000059ffb901b4ffff2318550104000042105f545a333030305f63666e7072616235050000420654533031314602'
2022-11-13 15:00:57.199 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=89), 255, -71, 0xb401, 255, 255, b'\x18U\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F']
2022-11-13 15:00:57.200 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=89, profile_id=260, cluster_id=0, data=Serialized[b'\x18U\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:57.200 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Received ZCL frame: b'\x18U\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x05\x00\x00B\x06TS011F'
2022-11-13 15:00:57.201 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] 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=85, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:00:57.202 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F'))])
2022-11-13 15:00:57.204 INFO (MainThread) [zigpy.device] [0xb401] Read model 'TS011F' and manufacturer '_TZ3000_cfnprab5' from <Endpoint id=1 in=[basic:0x0000, on_off:0x0006, identify:0x0003, groups:0x0004, scenes:0x0005, None:0xE001] out=[] status=<Status.ZDO_INIT: 1>>
2022-11-13 15:00:57.204 INFO (MainThread) [zigpy.device] [0xb401] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=True>
2022-11-13 15:00:57.204 DEBUG (MainThread) [zigpy.application] Device is initialized <Device model='TS011F' manuf='_TZ3000_cfnprab5' nwk=0xB401 ieee=70:b3:d5:2b:60:01:33:4b is_initialized=True>
2022-11-13 15:00:57.206 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for _TZ3000_cfnprab5 TS011F (70:b3:d5:2b:60:01:33:4b)
2022-11-13 15:00:57.206 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'ts011f_plug.Plug_4AC_2USB_Var04'>
2022-11-13 15:00:57.206 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for 70:b3:d5:2b:60:01:33:4b: <class 'ts011f_plug.Plug_4AC_2USB_Var04'>
2022-11-13 15:00:57.209 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=87, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.209 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 0, 1, 5, 7, 65534])
2022-11-13 15:00:57.210 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=87, profile_id=260, cluster_id=0, data=Serialized[b'\x00W\x00\x04\x00\x00\x00\x01\x00\x05\x00\x07\x00\xfe\xff'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.211 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=87), 88, b'\x00W\x00\x04\x00\x00\x00\x01\x00\x05\x00\x07\x00\xfe\xff')
2022-11-13 15:00:57.215 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-13 15:00:57.216 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-13 15:00:57.216 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-13 15:00:57.217 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'TuyaPowerOnStateSelectEntity' using ['on_off']
2022-11-13 15:00:57.217 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
2022-11-13 15:00:57.220 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-13 15:00:57.220 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-13 15:00:57.220 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-13 15:00:57.221 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'TuyaPowerOnStateSelectEntity' using ['on_off']
2022-11-13 15:00:57.222 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
2022-11-13 15:00:57.224 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-13 15:00:57.224 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-13 15:00:57.225 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-13 15:00:57.226 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'TuyaPowerOnStateSelectEntity' using ['on_off']
2022-11-13 15:00:57.226 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
2022-11-13 15:00:57.228 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-13 15:00:57.228 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-13 15:00:57.228 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-13 15:00:57.230 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'TuyaPowerOnStateSelectEntity' using ['on_off']
2022-11-13 15:00:57.230 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
2022-11-13 15:00:57.232 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-13 15:00:57.232 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-13 15:00:57.232 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-13 15:00:57.234 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'TuyaPowerOnStateSelectEntity' using ['on_off']
2022-11-13 15:00:57.234 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'select' component -> 'ZHAStartupOnOffSelectEntity' using ['on_off']
2022-11-13 15:00:57.235 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xB401:70:b3:d5:2b:60:01:33:4b entering async_device_initialized - is_new_join: True
2022-11-13 15:00:57.235 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xB401:70:b3:d5:2b:60:01:33:4b has joined the ZHA zigbee network
2022-11-13 15:00:57.236 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB401](TS011F): started configuration
2022-11-13 15:00:57.236 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:ZDO](TS011F): 'async_configure' stage succeeded
2022-11-13 15:00:57.254 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Performing cluster binding
2022-11-13 15:00:57.255 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=89, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'YK3\x01`+\xd5\xb3p\x01\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: Configuring cluster attribute reporting
2022-11-13 15:00:57.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: finished channel configuration
2022-11-13 15:00:57.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0000]: Configuring cluster attribute reporting
2022-11-13 15:00:57.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0000]: finished channel configuration
2022-11-13 15:00:57.257 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Performing cluster binding
2022-11-13 15:00:57.257 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=91, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'[K3\x01`+\xd5\xb3p\x02\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.258 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0000]: Configuring cluster attribute reporting
2022-11-13 15:00:57.258 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0000]: finished channel configuration
2022-11-13 15:00:57.258 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0003]: Configuring cluster attribute reporting
2022-11-13 15:00:57.259 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0003]: finished channel configuration
2022-11-13 15:00:57.259 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: Performing cluster binding
2022-11-13 15:00:57.260 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=93, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b']K3\x01`+\xd5\xb3p\x03\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.260 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0000]: Configuring cluster attribute reporting
2022-11-13 15:00:57.261 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0000]: finished channel configuration
2022-11-13 15:00:57.261 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0003]: Configuring cluster attribute reporting
2022-11-13 15:00:57.261 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0003]: finished channel configuration
2022-11-13 15:00:57.261 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: Performing cluster binding
2022-11-13 15:00:57.262 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=95, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'_K3\x01`+\xd5\xb3p\x04\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.262 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0003]: Configuring cluster attribute reporting
2022-11-13 15:00:57.263 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0003]: finished channel configuration
2022-11-13 15:00:57.263 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0000]: Configuring cluster attribute reporting
2022-11-13 15:00:57.263 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0000]: finished channel configuration
2022-11-13 15:00:57.263 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: Performing cluster binding
2022-11-13 15:00:57.264 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=0, source_route=None, extended_timeout=False, tsn=97, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'aK3\x01`+\xd5\xb3p\x05\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.265 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0003]: Configuring cluster attribute reporting
2022-11-13 15:00:57.265 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0003]: finished channel configuration
2022-11-13 15:00:57.265 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0000]: Configuring cluster attribute reporting
2022-11-13 15:00:57.265 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0000]: finished channel configuration
2022-11-13 15:00:57.266 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (70:b3:d5:2b:60:01:33:4b, 1, 0, 4, '_TZ3000_cfnprab5') params: FOREIGN KEY constraint failed
2022-11-13 15:00:57.267 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'001e'
2022-11-13 15:00:57.272 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (70:b3:d5:2b:60:01:33:4b, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
2022-11-13 15:00:57.276 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=89), 90, b'YK3\x01`+\xd5\xb3p\x01\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01')
2022-11-13 15:00:57.278 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040100000101400100001e580000'
2022-11-13 15:00:57.279 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=30), 88, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.296 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.296 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.296 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100000101400d00005affb901b4ffff3518570104000042105f545a333030305f63666e70726162350000002002010000206405000042065453303131460700003001feff8602'
2022-11-13 15:00:57.297 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=90), 255, -71, 0xb401, 255, 255, b'\x18W\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x00\x00\x00 \x02\x01\x00\x00 d\x05\x00\x00B\x06TS011F\x07\x00\x000\x01\xfe\xff\x86']
2022-11-13 15:00:57.298 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=90, profile_id=260, cluster_id=0, data=Serialized[b'\x18W\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x00\x00\x00 \x02\x01\x00\x00 d\x05\x00\x00B\x06TS011F\x07\x00\x000\x01\xfe\xff\x86'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:00:57.298 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Received ZCL frame: b'\x18W\x01\x04\x00\x00B\x10_TZ3000_cfnprab5\x00\x00\x00 \x02\x01\x00\x00 d\x05\x00\x00B\x06TS011F\x07\x00\x000\x01\xfe\xff\x86'
2022-11-13 15:00:57.299 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] 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=87, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:00:57.300 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_cfnprab5')), ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=2)), ReadAttributeRecord(attrid=0x0001, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=100)), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F')), ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x01: 1>)), ReadAttributeRecord(attrid=0xFFFE, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
2022-11-13 15:00:57.307 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'001f'
2022-11-13 15:00:57.309 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=91), 92, b'[K3\x01`+\xd5\xb3p\x02\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01')
2022-11-13 15:00:57.325 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0020'
2022-11-13 15:00:57.326 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=93), 94, b']K3\x01`+\xd5\xb3p\x03\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01')
2022-11-13 15:00:57.344 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0021'
2022-11-13 15:00:57.345 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=95), 96, b'_K3\x01`+\xd5\xb3p\x04\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01')
2022-11-13 15:00:57.361 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0022'
2022-11-13 15:00:57.362 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=97), 98, b'aK3\x01`+\xd5\xb3p\x05\x06\x00\x03\xd9\xc4D\x15\x00o\r\x00\x01')
2022-11-13 15:00:57.378 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0023'
2022-11-13 15:00:57.536 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4000021000000400100001f5a0000'
2022-11-13 15:00:57.537 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=31), 90, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.555 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.555 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.556 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000021800000400d00005bffba01b4ffff02590002'
2022-11-13 15:00:57.557 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=91), 255, -70, 0xb401, 255, 255, b'Y\x00']
2022-11-13 15:00:57.558 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=91, profile_id=0, cluster_id=32801, data=Serialized[b'Y\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.564 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
2022-11-13 15:00:57.564 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Configuring cluster attribute reporting
2022-11-13 15:00:57.565 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=99, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.566 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
2022-11-13 15:00:57.566 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=99, profile_id=260, cluster_id=6, data=Serialized[b'\x00c\x06\x00\x00\x00\x10\x00\x00\x84\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.567 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=99), 100, b'\x00c\x06\x00\x00\x00\x10\x00\x00\x84\x03')
2022-11-13 15:00:57.574 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b400002100000040010000205c0000'
2022-11-13 15:00:57.575 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=32), 92, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.590 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0024'
2022-11-13 15:00:57.610 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b400002100000040010000215e0000'
2022-11-13 15:00:57.611 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=33), 94, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.631 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.631 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.632 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000021800000400d00005cffba01b4ffff025b0002'
2022-11-13 15:00:57.633 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=92), 255, -70, 0xb401, 255, 255, b'[\x00']
2022-11-13 15:00:57.633 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=92, profile_id=0, cluster_id=32801, data=Serialized[b'[\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.635 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: bound 'on_off' cluster: Status.SUCCESS
2022-11-13 15:00:57.636 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Configuring cluster attribute reporting
2022-11-13 15:00:57.637 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=101, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.637 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
2022-11-13 15:00:57.638 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=2, source_route=None, extended_timeout=False, tsn=101, profile_id=260, cluster_id=6, data=Serialized[b'\x00e\x06\x00\x00\x00\x10\x00\x00\x84\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.639 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=101), 102, b'\x00e\x06\x00\x00\x00\x10\x00\x00\x84\x03')
2022-11-13 15:00:57.643 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000210000004001000022600000'
2022-11-13 15:00:57.644 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=34), 96, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.665 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.665 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.665 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000021800000400d00005dffba01b4ffff025d0002'
2022-11-13 15:00:57.666 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=93), 255, -70, 0xb401, 255, 255, b']\x00']
2022-11-13 15:00:57.666 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=93, profile_id=0, cluster_id=32801, data=Serialized[b']\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.670 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40000210000004001000023620000'
2022-11-13 15:00:57.671 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=35), 98, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.671 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.671 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.674 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: bound 'on_off' cluster: Status.SUCCESS
2022-11-13 15:00:57.675 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: Configuring cluster attribute reporting
2022-11-13 15:00:57.676 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=103, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.676 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
2022-11-13 15:00:57.677 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=3, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=3, source_route=None, extended_timeout=False, tsn=103, profile_id=260, cluster_id=6, data=Serialized[b'\x00g\x06\x00\x00\x00\x10\x00\x00\x84\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.680 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0025'
2022-11-13 15:00:57.682 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=3, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=103), 104, b'\x00g\x06\x00\x00\x00\x10\x00\x00\x84\x03')
2022-11-13 15:00:57.686 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000021800000400d00005effba01b4ffff025f0002'
2022-11-13 15:00:57.687 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=94), 255, -70, 0xb401, 255, 255, b'_\x00']
2022-11-13 15:00:57.687 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=94, profile_id=0, cluster_id=32801, data=Serialized[b'_\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.688 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.688 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.690 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: bound 'on_off' cluster: Status.SUCCESS
2022-11-13 15:00:57.691 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: Configuring cluster attribute reporting
2022-11-13 15:00:57.691 DEBUG (MainThread) [zigpy.zcl] [0xB401:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=105, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.692 DEBUG (MainThread) [zigpy.zcl] [0xB401:4:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
2022-11-13 15:00:57.693 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=4, source_route=None, extended_timeout=False, tsn=105, profile_id=260, cluster_id=6, data=Serialized[b'\x00i\x06\x00\x00\x00\x10\x00\x00\x84\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.697 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00000021800000400d00005fffba01b4ffff02610002'
2022-11-13 15:00:57.698 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=95), 255, -70, 0xb401, 255, 255, b'a\x00']
2022-11-13 15:00:57.699 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=95, profile_id=0, cluster_id=32801, data=Serialized[b'a\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.699 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40401060001014001000024640000'
2022-11-13 15:00:57.700 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=36), 100, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.702 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: bound 'on_off' cluster: Status.SUCCESS
2022-11-13 15:00:57.702 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: Configuring cluster attribute reporting
2022-11-13 15:00:57.703 DEBUG (MainThread) [zigpy.zcl] [0xB401:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=107, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:00:57.704 DEBUG (MainThread) [zigpy.zcl] [0xB401:5:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
2022-11-13 15:00:57.705 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=5, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=5, source_route=None, extended_timeout=False, tsn=107, profile_id=260, cluster_id=6, data=Serialized[b'\x00k\x06\x00\x00\x00\x10\x00\x00\x84\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:00:57.706 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.706 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.724 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0026'
2022-11-13 15:00:57.727 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040106000101400d000060ffba01b4ffff071863070100000002'
2022-11-13 15:00:57.728 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_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=96), 255, -70, 0xb401, 255, 255, b'\x18c\x07\x01\x00\x00\x00']
2022-11-13 15:00:57.728 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=96, profile_id=260, cluster_id=6, data=Serialized[b'\x18c\x07\x01\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.729 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Received ZCL frame: b'\x18c\x07\x01\x00\x00\x00'
2022-11-13 15:00:57.729 DEBUG (MainThread) [zigpy.zcl] [0xB401: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=99, command_id=7, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:00:57.730 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=<Status.FAILURE: 1>, direction=<ReportingDirection.SendReports: 0>, attrid=0)])
2022-11-13 15:00:57.731 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40401060002024001000025660000'
2022-11-13 15:00:57.731 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=37), 102, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.733 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=105), 106, b'\x00i\x06\x00\x00\x00\x10\x00\x00\x84\x03')
2022-11-13 15:00:57.737 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Successfully configured reporting for 'set()' on 'on_off' cluster
2022-11-13 15:00:57.737 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Failed to configure reporting for '['on_off']' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=<Status.FAILURE: 1>, direction=<ReportingDirection.SendReports: 0>, attrid=0)]
2022-11-13 15:00:57.737 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: finished channel configuration
2022-11-13 15:00:57.741 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: 'async_configure' stage succeeded
2022-11-13 15:00:57.741 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: 'async_configure' stage succeeded
2022-11-13 15:00:57.741 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0000]: 'async_configure' stage succeeded
2022-11-13 15:00:57.747 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:00:57.747 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:00:57.747 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040106000202400d000061ffba01b4ffff071865070100000002'
2022-11-13 15:00:57.748 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=97), 255, -70, 0xb401, 255, 255, b'\x18e\x07\x01\x00\x00\x00']
2022-11-13 15:00:57.748 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=2, source_route=None, extended_timeout=False, tsn=97, profile_id=260, cluster_id=6, data=Serialized[b'\x18e\x07\x01\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:00:57.749 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Received ZCL frame: b'\x18e\x07\x01\x00\x00\x00'
2022-11-13 15:00:57.750 DEBUG (MainThread) [zigpy.zcl] [0xB401:2: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=101, command_id=7, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:00:57.751 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=<Status.FAILURE: 1>, direction=<ReportingDirection.SendReports: 0>, attrid=0)])
2022-11-13 15:00:57.753 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Successfully configured reporting for 'set()' on 'on_off' cluster
2022-11-13 15:00:57.754 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Failed to configure reporting for '['on_off']' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=<Status.FAILURE: 1>, direction=<ReportingDirection.SendReports: 0>, attrid=0)]
2022-11-13 15:00:57.754 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: finished channel configuration
2022-11-13 15:00:57.756 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: 'async_configure' stage succeeded
2022-11-13 15:00:57.756 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0000]: 'async_configure' stage succeeded
2022-11-13 15:00:57.756 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0003]: 'async_configure' stage succeeded
2022-11-13 15:00:57.762 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0027'
2022-11-13 15:00:57.762 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b40401060003034001000026680000'
2022-11-13 15:00:57.762 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=3, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=38), 104, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:00:57.764 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=5, destinationEndpoint=5, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=107), 108, b'\x00k\x06\x00\x00\x00\x10\x00\x00\x84\x03')
2022-11-13 15:00:57.774 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 36 (trustCenterJoinHandler) received: b'01b44b3301602bd5b3700203ffff'
2022-11-13 15:00:57.774 DEBUG (MainThread) [bellows.zigbee.application] Received trustCenterJoinHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, <EmberDeviceUpdate.DEVICE_LEFT: 2>, <EmberJoinDecision.NO_ACTION: 3>, 0xffff]
2022-11-13 15:00:57.774 INFO (MainThread) [zigpy.application] Device 0xb401 (70:b3:d5:2b:60:01:33:4b) left the network
2022-11-13 15:00:57.784 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0028'
2022-11-13 15:00:58.600 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2022-11-13 15:00:58.621 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 241 (readCounters) received: b'5a027c01ba003e001c00060003000200a100180034019a0044000500020000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2022-11-13 15:00:58.623 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2022-11-13 15:00:58.629 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 170 (getValue) received: b'0001ef'
2022-11-13 15:00:58.630 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 239
2022-11-13 15:00:58.630 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 602, MAC_TX_BROADCAST = 380, MAC_RX_UNICAST = 186, MAC_TX_UNICAST_SUCCESS = 62, MAC_TX_UNICAST_RETRY = 28, MAC_TX_UNICAST_FAILED = 6, APS_DATA_RX_BROADCAST = 3, APS_DATA_TX_BROADCAST = 2, APS_DATA_RX_UNICAST = 161, APS_DATA_TX_UNICAST_SUCCESS = 24, APS_DATA_TX_UNICAST_RETRY = 308, APS_DATA_TX_UNICAST_FAILED = 154, ROUTE_DISCOVERY_INITIATED = 68, NEIGHBOR_ADDED = 5, NEIGHBOR_REMOVED = 2, NEIGHBOR_STALE = 0, JOIN_INDICATION = 1, 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 = 239]
2022-11-13 15:01:02.451 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b404010600040440000000276a6600'
2022-11-13 15:01:02.452 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY: 64>, groupId=0, sequence=39), 106, <EmberStatus.DELIVERY_FAILED: 102>, b'']
2022-11-13 15:01:02.453 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: failed to set reporting on 'on_off' cluster for: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2022-11-13 15:01:02.453 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: finished channel configuration
2022-11-13 15:01:02.454 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: 'async_configure' stage succeeded
2022-11-13 15:01:02.455 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0003]: 'async_configure' stage succeeded
2022-11-13 15:01:02.455 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0000]: 'async_configure' stage succeeded
2022-11-13 15:01:02.476 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b404010600050540000000286c6600'
2022-11-13 15:01:02.477 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=5, destinationEndpoint=5, options=<EmberApsOption.APS_OPTION_RETRY: 64>, groupId=0, sequence=40), 108, <EmberStatus.DELIVERY_FAILED: 102>, b'']
2022-11-13 15:01:02.478 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: failed to set reporting on 'on_off' cluster for: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2022-11-13 15:01:02.478 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: finished channel configuration
2022-11-13 15:01:02.479 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: 'async_configure' stage succeeded
2022-11-13 15:01:02.480 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0003]: 'async_configure' stage succeeded
2022-11-13 15:01:02.480 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0000]: 'async_configure' stage succeeded
2022-11-13 15:01:02.765 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: failed to set reporting on 'on_off' cluster for:
2022-11-13 15:01:02.766 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: finished channel configuration
2022-11-13 15:01:02.767 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: 'async_configure' stage succeeded
2022-11-13 15:01:02.767 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0000]: 'async_configure' stage succeeded
2022-11-13 15:01:02.767 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0003]: 'async_configure' stage succeeded
2022-11-13 15:01:02.768 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB401](TS011F): completed configuration
2022-11-13 15:01:02.769 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0003] 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=109, command_id=64, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:02.770 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
2022-11-13 15:01:02.771 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=109, profile_id=260, cluster_id=3, data=Serialized[b'\x01m@\x02\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:02.772 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=3, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=109), 110, b'\x01m@\x02\x00')
2022-11-13 15:01:02.785 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0029'
2022-11-13 15:01:02.871 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 36 (trustCenterJoinHandler) received: b'01b44b3301602bd5b37001000000'
2022-11-13 15:01:02.871 DEBUG (MainThread) [bellows.zigbee.application] Received trustCenterJoinHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, <EmberDeviceUpdate.STANDARD_SECURITY_UNSECURED_JOIN: 1>, <EmberJoinDecision.USE_PRECONFIGURED_KEY: 0>, 0x0000]
2022-11-13 15:01:02.872 INFO (MainThread) [zigpy.application] Device 0xb401 (70:b3:d5:2b:60:01:33:4b) joined the network
2022-11-13 15:01:02.872 DEBUG (MainThread) [bellows.ezsp.protocol] Send command findKeyTableEntry: (70:b3:d5:2b:60:01:33:4b, True)
2022-11-13 15:01:02.874 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] 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=111, command_id=2, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:02.875 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Sending request: get_membership(groups=[])
2022-11-13 15:01:02.875 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=111, profile_id=260, cluster_id=4, data=Serialized[b'\x01o\x02\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:02.876 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=111), 112, b'\x01o\x02\x00')
2022-11-13 15:01:02.886 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 117 (findKeyTableEntry) received: b'ff'
2022-11-13 15:01:02.898 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'002b'
2022-11-13 15:01:02.927 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:02.927 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:02.927 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'040000130000000004000063ffb901b4ffff0c3201b44b3301602bd5b3708e02'
2022-11-13 15:01:02.928 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_BROADCAST: 4>, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_SOURCE_EUI64: 1024>, groupId=0, sequence=99), 255, -71, 0xb401, 255, 255, b'2\x01\xb4K3\x01`+\xd5\xb3p\x8e']
2022-11-13 15:01:02.928 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.Broadcast: 15>, address=<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>), dst_ep=0, source_route=None, extended_timeout=False, tsn=99, profile_id=0, cluster_id=19, data=Serialized[b'2\x01\xb4K3\x01`+\xd5\xb3p\x8e'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:02.929 INFO (MainThread) [zigpy.application] Device 0xb401 (70:b3:d5:2b:60:01:33:4b) joined the network
2022-11-13 15:01:02.929 DEBUG (MainThread) [zigpy.device] [0xb401] Cancelling old group rescan
2022-11-13 15:01:02.929 DEBUG (MainThread) [zigpy.zdo] [0xb401:zdo] ZDO request ZDOCmd.Device_annce: [0xB401, 70:b3:d5:2b:60:01:33:4b, 142]
2022-11-13 15:01:02.931 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] 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=113, command_id=2, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:02.932 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Sending request: get_membership(groups=[])
2022-11-13 15:01:02.932 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=113, profile_id=260, cluster_id=4, data=Serialized[b'\x01q\x02\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:02.933 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=113), 114, b'\x01q\x02\x00')
2022-11-13 15:01:02.946 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'002c'
2022-11-13 15:01:02.968 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'01b44b3301602bd5b370ffb900'
2022-11-13 15:01:02.968 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xb401, 70:b3:d5:2b:60:01:33:4b, 255, -71, []]
2022-11-13 15:01:02.968 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xb401, 70:b3:d5:2b:60:01:33:4b, 255, -71, [])
2022-11-13 15:01:02.973 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040104000101400100002c720000'
2022-11-13 15:01:02.974 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=44), 114, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:02.987 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:02.987 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:02.987 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040104000101400d000064ffb901b4ffff05197102c60002'
2022-11-13 15:01:02.988 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=100), 255, -71, 0xb401, 255, 255, b'\x19q\x02\xc6\x00']
2022-11-13 15:01:02.988 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=100, profile_id=260, cluster_id=4, data=Serialized[b'\x19q\x02\xc6\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:02.989 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Received ZCL frame: b'\x19q\x02\xc6\x00'
2022-11-13 15:01:02.989 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=113, command_id=2, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:02.990 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=198, groups=[])
2022-11-13 15:01:02.993 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0004] 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=115, command_id=2, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:02.994 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0004] Sending request: get_membership(groups=[])
2022-11-13 15:01:02.994 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=2, source_route=None, extended_timeout=False, tsn=115, profile_id=260, cluster_id=4, data=Serialized[b'\x01s\x02\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:02.995 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=115), 116, b'\x01s\x02\x00')
2022-11-13 15:01:03.024 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'002d'
2022-11-13 15:01:03.024 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b404010300010140000000296e0000'
2022-11-13 15:01:03.026 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=3, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY: 64>, groupId=0, sequence=41), 110, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.027 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.027 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.029 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040103000101400d000065ffb901b4ffff05186d0b408102'
2022-11-13 15:01:03.030 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=3, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=101), 255, -71, 0xb401, 255, 255, b'\x18m\x0b@\x81']
2022-11-13 15:01:03.032 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=101, profile_id=260, cluster_id=3, data=Serialized[b'\x18m\x0b@\x81'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:03.033 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0003] Received ZCL frame: b'\x18m\x0b@\x81'
2022-11-13 15:01:03.035 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0003] 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=109, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.037 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.UNSUP_CLUSTER_COMMAND: 129>)
2022-11-13 15:01:03.042 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040104000202400100002d740000'
2022-11-13 15:01:03.043 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=45), 116, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.047 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: executed 'trigger_effect' command with args: '()' kwargs: '{'effect_id': <EffectIdentifier.Okay: 2>, 'effect_variant': <EffectVariant.Default: 0>}' result: Default_Response(command_id=64, status=<Status.UNSUP_CLUSTER_COMMAND: 129>)
2022-11-13 15:01:03.049 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB401](TS011F): started initialization
2022-11-13 15:01:03.049 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:ZDO](TS011F): 'async_initialize' stage succeeded
2022-11-13 15:01:03.056 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: initializing channel: from_cache: False
2022-11-13 15:01:03.057 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: initializing cached channel attributes: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.058 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Reading attributes in chunks: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.060 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=117, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.062 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request: Read_Attributes(attribute_ids=[16387, 32770])
2022-11-13 15:01:03.067 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=117, profile_id=260, cluster_id=6, data=Serialized[b'\x00u\x00\x03@\x02\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.068 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=117), 118, b'\x00u\x00\x03@\x02\x80')
2022-11-13 15:01:03.072 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: initializing channel: from_cache: False
2022-11-13 15:01:03.073 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0003]: finished channel initialization
2022-11-13 15:01:03.074 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0000]: initializing channel: from_cache: False
2022-11-13 15:01:03.075 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0000]: finished channel initialization
2022-11-13 15:01:03.075 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: initializing channel: from_cache: False
2022-11-13 15:01:03.076 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: initializing cached channel attributes: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.078 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Reading attributes in chunks: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.080 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=119, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.082 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request: Read_Attributes(attribute_ids=[16387, 32770])
2022-11-13 15:01:03.084 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=2, source_route=None, extended_timeout=False, tsn=119, profile_id=260, cluster_id=6, data=Serialized[b'\x00w\x00\x03@\x02\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.086 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0000]: initializing channel: from_cache: False
2022-11-13 15:01:03.087 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0000]: finished channel initialization
2022-11-13 15:01:03.088 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0003]: initializing channel: from_cache: False
2022-11-13 15:01:03.088 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0003]: finished channel initialization
2022-11-13 15:01:03.088 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: initializing channel: from_cache: False
2022-11-13 15:01:03.088 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: initializing cached channel attributes: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.088 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0006]: Reading attributes in chunks: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.089 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=121, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.090 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Sending request: Read_Attributes(attribute_ids=[16387, 32770])
2022-11-13 15:01:03.091 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=3, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=3, source_route=None, extended_timeout=False, tsn=121, profile_id=260, cluster_id=6, data=Serialized[b'\x00y\x00\x03@\x02\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.091 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0000]: initializing channel: from_cache: False
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0000]: finished channel initialization
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0003]: initializing channel: from_cache: False
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:3:0x0003]: finished channel initialization
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: initializing channel: from_cache: False
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: initializing cached channel attributes: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0006]: Reading attributes in chunks: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.093 DEBUG (MainThread) [zigpy.zcl] [0xB401:4:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=123, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.094 DEBUG (MainThread) [zigpy.zcl] [0xB401:4:0x0006] Sending request: Read_Attributes(attribute_ids=[16387, 32770])
2022-11-13 15:01:03.094 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=4, source_route=None, extended_timeout=False, tsn=123, profile_id=260, cluster_id=6, data=Serialized[b'\x00{\x00\x03@\x02\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.095 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0003]: initializing channel: from_cache: False
2022-11-13 15:01:03.095 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0003]: finished channel initialization
2022-11-13 15:01:03.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0000]: initializing channel: from_cache: False
2022-11-13 15:01:03.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:4:0x0000]: finished channel initialization
2022-11-13 15:01:03.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: initializing channel: from_cache: False
2022-11-13 15:01:03.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: initializing cached channel attributes: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.096 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0006]: Reading attributes in chunks: ['start_up_on_off', 'power_on_state']
2022-11-13 15:01:03.097 DEBUG (MainThread) [zigpy.zcl] [0xB401:5:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=125, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.098 DEBUG (MainThread) [zigpy.zcl] [0xB401:5:0x0006] Sending request: Read_Attributes(attribute_ids=[16387, 32770])
2022-11-13 15:01:03.098 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=5, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=5, source_route=None, extended_timeout=False, tsn=125, profile_id=260, cluster_id=6, data=Serialized[b'\x00}\x00\x03@\x02\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.101 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0003]: initializing channel: from_cache: False
2022-11-13 15:01:03.101 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0003]: finished channel initialization
2022-11-13 15:01:03.101 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0000]: initializing channel: from_cache: False
2022-11-13 15:01:03.101 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:5:0x0000]: finished channel initialization
2022-11-13 15:01:03.102 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.102 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.102 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040104000202400d000066ffba01b4ffff05197302100002'
2022-11-13 15:01:03.103 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=102), 255, -70, 0xb401, 255, 255, b'\x19s\x02\x10\x00']
2022-11-13 15:01:03.103 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=2, source_route=None, extended_timeout=False, tsn=102, profile_id=260, cluster_id=4, data=Serialized[b'\x19s\x02\x10\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-11-13 15:01:03.104 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0004] Received ZCL frame: b'\x19s\x02\x10\x00'
2022-11-13 15:01:03.104 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=115, command_id=2, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.105 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=16, groups=[])
2022-11-13 15:01:03.110 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'002e'
2022-11-13 15:01:03.114 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0004] 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=127, command_id=2, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.115 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0004] Sending request: get_membership(groups=[])
2022-11-13 15:01:03.115 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=3, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=3, source_route=None, extended_timeout=False, tsn=127, profile_id=260, cluster_id=4, data=Serialized[b'\x01\x7f\x02\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.119 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=119), 120, b'\x00w\x00\x03@\x02\x80')
2022-11-13 15:01:03.121 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040104000101400000002b700000'
2022-11-13 15:01:03.122 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY: 64>, groupId=0, sequence=43), 112, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.122 DEBUG (MainThread) [bellows.zigbee.application] Unexpected message send notification tag: 112
2022-11-13 15:01:03.131 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.131 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.133 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040104000101400d000067ffb901b4ffff05196f02100002'
2022-11-13 15:01:03.134 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=4, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=103), 255, -71, 0xb401, 255, 255, b'\x19o\x02\x10\x00']
2022-11-13 15:01:03.135 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=103, profile_id=260, cluster_id=4, data=Serialized[b'\x19o\x02\x10\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:03.135 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Received ZCL frame: b'\x19o\x02\x10\x00'
2022-11-13 15:01:03.136 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=111, command_id=2, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.137 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=16, groups=[])
2022-11-13 15:01:03.137 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] Received command 0x02 (TSN 111): get_membership_response(capacity=16, groups=[])
2022-11-13 15:01:03.137 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0004] No explicit handler for cluster command 0x02: get_membership_response(capacity=16, groups=[])
2022-11-13 15:01:03.140 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040106000101400100002e760000'
2022-11-13 15:01:03.141 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=46), 118, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.146 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.146 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.147 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040106000101400d000068ffb901b4ffff0b187501034086028000300002'
2022-11-13 15:01:03.147 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_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=104), 255, -71, 0xb401, 255, 255, b'\x18u\x01\x03@\x86\x02\x80\x000\x00']
2022-11-13 15:01:03.148 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=104, profile_id=260, cluster_id=6, data=Serialized[b'\x18u\x01\x03@\x86\x02\x80\x000\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:03.148 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Received ZCL frame: b'\x18u\x01\x03@\x86\x02\x80\x000\x00'
2022-11-13 15:01:03.149 DEBUG (MainThread) [zigpy.zcl] [0xB401: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=117, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.150 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x8002, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x00: 0>))])
2022-11-13 15:01:03.152 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
2022-11-13 15:01:03.153 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: Reading attributes in chunks: ['on_off']
2022-11-13 15:01:03.153 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=129, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.154 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 15:01:03.155 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=0xB401), dst_ep=1, source_route=None, extended_timeout=False, tsn=129, profile_id=260, cluster_id=6, data=Serialized[b'\x00\x81\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.159 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'002f'
2022-11-13 15:01:03.160 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=3, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=121), 122, b'\x00y\x00\x03@\x02\x80')
2022-11-13 15:01:03.174 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b4040106000202400100002f780000'
2022-11-13 15:01:03.174 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=47), 120, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.185 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.185 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.185 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040106000202400d000069ffb901b4ffff0918770103408602808602'
2022-11-13 15:01:03.186 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=105), 255, -71, 0xb401, 255, 255, b'\x18w\x01\x03@\x86\x02\x80\x86']
2022-11-13 15:01:03.186 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=2, source_route=None, extended_timeout=False, tsn=105, profile_id=260, cluster_id=6, data=Serialized[b'\x18w\x01\x03@\x86\x02\x80\x86'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:03.187 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Received ZCL frame: b'\x18w\x01\x03@\x86\x02\x80\x86'
2022-11-13 15:01:03.187 DEBUG (MainThread) [zigpy.zcl] [0xB401:2: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=119, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.188 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x8002, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
2022-11-13 15:01:03.191 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: initializing uncached channel attributes: ['on_off'] - from cache[False]
2022-11-13 15:01:03.192 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:2:0x0006]: Reading attributes in chunks: ['on_off']
2022-11-13 15:01:03.193 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=131, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 15:01:03.193 DEBUG (MainThread) [zigpy.zcl] [0xB401:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 15:01:03.194 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), dst_ep=2, source_route=None, extended_timeout=False, tsn=131, profile_id=260, cluster_id=6, data=Serialized[b'\x00\x83\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-13 15:01:03.196 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0030'
2022-11-13 15:01:03.197 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=123), 124, b'\x00{\x00\x03@\x02\x80')
2022-11-13 15:01:03.211 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'0031'
2022-11-13 15:01:03.213 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xb401, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=5, destinationEndpoint=5, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=125), 126, b'\x00}\x00\x03@\x02\x80')
2022-11-13 15:01:03.217 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'0001b404010600030340010000307a0000'
2022-11-13 15:01:03.218 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 46081, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=3, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=48), 122, <EmberStatus.SUCCESS: 0>, b'']
2022-11-13 15:01:03.227 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 98 (incomingSenderEui64Handler) received: b'4b3301602bd5b370'
2022-11-13 15:01:03.227 DEBUG (MainThread) [bellows.zigbee.application] Received incomingSenderEui64Handler frame with [70:b3:d5:2b:60:01:33:4b]
2022-11-13 15:01:03.227 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040106000303400d00006affb901b4ffff0918790103408602808602'
2022-11-13 15:01:03.228 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=3, options=<EmberApsOption.APS_OPTION_DESTINATION_EUI64|APS_OPTION_SOURCE_EUI64|APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 3392>, groupId=0, sequence=106), 255, -71, 0xb401, 255, 255, b'\x18y\x01\x03@\x86\x02\x80\x86']
2022-11-13 15:01:03.228 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xB401), src_ep=3, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=3, source_route=None, extended_timeout=False, tsn=106, profile_id=260, cluster_id=6, data=Serialized[b'\x18y\x01\x03@\x86\x02\x80\x86'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-71)
2022-11-13 15:01:03.229 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Received ZCL frame: b'\x18y\x01\x03@\x86\x02\x80\x86'
2022-11-13 15:01:03.229 DEBUG (MainThread) [zigpy.zcl] [0xB401:3: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=121, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 15:01:03.230 DEBUG (MainThread) [zigpy.zcl] [0xB401:3:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x4003, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x8002, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])

@javicalle
Copy link
Collaborator

When you say "unable to control the device from HA", which is the behavior? Is device disabled? Is enabled but don't change its status? Status change in HA but not in the device?

There is another try for your device. Over your current version do the following:

  1. at the begining of file, add the `` import:
from zhaquirks.tuya.mcu import EnchantedDevice, TuyaOnOffNM
  1. Use the new class in any of the replacement clusters, i.e. in cluster 1:
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaOnOffNM,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },

Remove, restart, repair and test if the behavior for switch 1 changes.

@fasteddie-g
Copy link

fasteddie-g commented Nov 13, 2022

Thanks for the quick reply. I'll try the suggestions shortly and report back.

When you say "unable to control the device from HA", which is the behavior? Is device disabled? Is enabled but don't change its status? Status change in HA but not in the device?

The device appears normal in HA, and I can toggle any of the plugs/switches in the UI, but they have no impact on the device. Also, if I turn the entire power strip on or off, it does not update in HA. Visually, at the bottom of this reply is a screen shot of what I see right now. It shows the switches as all on, because I joined the device to HA when the plug was on. But if toggle any of them to off, there's no change to the physical device and in ~5 seconds the UI will just revert to back on.

Logs around the time I just tried to toggle one of the switches to off
2022-11-13 16:22:52.363 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=230, profile_id=260, cluster_id=12, data=Serialized[b'\x18\xe5\nU\x009\x85\xeb\xd1>'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-54)
2022-11-13 16:22:52.364 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received ZCL frame: b'\x18\xe5\nU\x009\x85\xeb\xd1>'
2022-11-13 16:22:52.364 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] 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=229, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:22:52.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Decoded ZCL frame: AnalogInputCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.4099999964237213))])
2022-11-13 16:22:52.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received command 0x0A (TSN 229): Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.4099999964237213))])
2022-11-13 16:22:52.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Attribute report received: present_value=0.4099999964237213
2022-11-13 16:22:53.361 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=231, profile_id=260, cluster_id=12, data=Serialized[b'\x18\xe7\nU\x009\x14\xae\xc7>'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-54)
2022-11-13 16:22:53.361 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received ZCL frame: b'\x18\xe7\nU\x009\x14\xae\xc7>'
2022-11-13 16:22:53.361 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] 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=231, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:22:53.362 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Decoded ZCL frame: AnalogInputCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.38999998569488525))])
2022-11-13 16:22:53.362 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received command 0x0A (TSN 231): Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.38999998569488525))])
2022-11-13 16:22:53.363 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Attribute report received: present_value=0.38999998569488525
2022-11-13 16:22:55.150 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x29E0](ZB-CL01): last_seen is 57022.99984884262 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:22:55.150 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x29E0](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:22:55.171 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:22:55.171 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:22:55.365 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=232, profile_id=260, cluster_id=12, data=Serialized[b'\x18\xea\nU\x009\xb8\x1e\x85>'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-54)
2022-11-13 16:22:55.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received ZCL frame: b'\x18\xea\nU\x009\xb8\x1e\x85>'
2022-11-13 16:22:55.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] 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=234, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:22:55.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Decoded ZCL frame: AnalogInputCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.25999999046325684))])
2022-11-13 16:22:55.367 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received command 0x0A (TSN 234): Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.25999999046325684))])
2022-11-13 16:22:55.367 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Attribute report received: present_value=0.25999999046325684
2022-11-13 16:22:56.364 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=233, profile_id=260, cluster_id=12, data=Serialized[b'\x18\xec\nU\x009\xb8\x1e\x85>'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-54)
2022-11-13 16:22:56.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received ZCL frame: b'\x18\xec\nU\x009\xb8\x1e\x85>'
2022-11-13 16:22:56.365 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] 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=236, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:22:56.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Decoded ZCL frame: AnalogInputCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.25999999046325684))])
2022-11-13 16:22:56.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received command 0x0A (TSN 236): Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.25999999046325684))])
2022-11-13 16:22:56.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Attribute report received: present_value=0.25999999046325684
2022-11-13 16:23:06.160 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: async_update
2022-11-13 16:23:06.160 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:23:06.161 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: async_update
2022-11-13 16:23:06.161 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:23:15.120 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2425](ZB-CL01): last_seen is 57042.89177417755 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:23:15.121 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2425](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:23:15.122 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x576B](lumi.plug.maus01): Device seen - marking the device available and resetting counter
2022-11-13 16:23:15.122 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x576B](lumi.plug.maus01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:15.193 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): last_seen is 54958.011816740036 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:23:15.193 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:23:23.192 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFCD2](TS0505B): last_seen is 54965.99287056923 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:23:23.193 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFCD2](TS0505B): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:23:33.099 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD1E8](lumi.plug.maus01): Device seen - marking the device available and resetting counter
2022-11-13 16:23:33.099 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD1E8](lumi.plug.maus01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:33.152 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5B06](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:23:33.152 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5B06](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:33.184 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6D87](TS0505B): Device seen - marking the device available and resetting counter
2022-11-13 16:23:33.184 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6D87](TS0505B): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:35.146 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF406](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:23:35.146 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF406](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:36.161 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: async_update
2022-11-13 16:23:36.161 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:23:36.162 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: async_update
2022-11-13 16:23:36.162 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:23:41.072 DEBUG (MainThread) [zigpy.zcl] [0xB401: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=253, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:23:41.073 DEBUG (MainThread) [zigpy.zcl] [0xB401:1:0x0006] Sending request: off()
2022-11-13 16:23:41.426 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB401](TS011F): Device seen - marking the device available and resetting counter
2022-11-13 16:23:41.426 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB401](TS011F): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:44.326 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0DC2](ZB-CL01): last_seen is 56904.415867328644 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:23:44.326 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0DC2](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:23:45.779 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB401:1:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:23:45.944 DEBUG (MainThread) [homeassistant.components.zha.entity] light.ewelight_zb_cl01_alyssa4_cacfb423_level_light_color_on_off: polling current state
2022-11-13 16:23:45.944 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=255, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:23:45.945 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 16:23:46.022 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x4AB8), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=4, profile_id=260, cluster_id=6, data=Serialized[b'\x18\xff\x01\x00\x00\x00\x10\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-57)
2022-11-13 16:23:46.022 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0006] Received ZCL frame: b'\x18\xff\x01\x00\x00\x00\x10\x01'
2022-11-13 16:23:46.023 DEBUG (MainThread) [zigpy.zcl] [0x4AB8: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=255, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:23:46.023 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
2022-11-13 16:23:46.026 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=1, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:23:46.026 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0008] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 16:23:46.142 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x4AB8), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=5, profile_id=260, cluster_id=8, data=Serialized[b'\x18\x01\x01\x00\x00\x00 \x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-57)
2022-11-13 16:23:46.143 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0008] Received ZCL frame: b'\x18\x01\x01\x00\x00\x00 \x80'
2022-11-13 16:23:46.144 DEBUG (MainThread) [zigpy.zcl] [0x4AB8: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=1, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:23:46.147 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0008] Decoded ZCL frame: LevelControl:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=128))])
2022-11-13 16:23:46.149 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x4AB8:1:0x0008]: received attribute: 0 update with value: 128
2022-11-13 16:23:46.150 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x4AB8:1:0x0300]: Reading attributes in chunks: ['color_mode', 'current_x', 'current_y', 'color_temperature', 'color_loop_active']
2022-11-13 16:23:46.151 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=3, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:23:46.152 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0300] Sending request: Read_Attributes(attribute_ids=[8, 3, 4, 7, 16386])
2022-11-13 16:23:46.268 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x4AB8), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=6, profile_id=260, cluster_id=768, data=Serialized[b'\x18\x03\x01\x08\x00\x000\x02\x03\x00\x00!\xc86\x04\x00\x00!\x86V\x07\x00\x00!\xff\x00\x02@\x00 \x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-57)
2022-11-13 16:23:46.269 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0300] Received ZCL frame: b'\x18\x03\x01\x08\x00\x000\x02\x03\x00\x00!\xc86\x04\x00\x00!\x86V\x07\x00\x00!\xff\x00\x02@\x00 \x00'
2022-11-13 16:23:46.269 DEBUG (MainThread) [zigpy.zcl] [0x4AB8: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=3, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:23:46.270 DEBUG (MainThread) [zigpy.zcl] [0x4AB8:1:0x0300] Decoded ZCL frame: Color:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0008, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x02: 2>)), ReadAttributeRecord(attrid=0x0003, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=14024)), ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=22150)), ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=255)), ReadAttributeRecord(attrid=0x4002, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=0))])
2022-11-13 16:23:51.366 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=234, profile_id=260, cluster_id=0, data=Serialized[b"\x1c_\x11$\n\x01\xffB+d\x10\x01\x03()\x989q=\x8a>\x959\xdf\x8f`?\x05!\t\x00\x9a \x00\x08!\x0b\x12\x07'\x00\x00\x00\x00\x00\x00\x00\x00\t!\x00\x05"], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-55)
2022-11-13 16:23:51.367 DEBUG (MainThread) [zigpy.zcl] [0x576B:1:0x0000] Received ZCL frame: b"\x1c_\x11$\n\x01\xffA+d\x10\x01\x03()\x989q=\x8a>\x959\xdf\x8f`?\x05!\t\x00\x9a \x00\x08!\x0b\x12\x07'\x00\x00\x00\x00\x00\x00\x00\x00\t!\x00\x05"
2022-11-13 16:23:51.367 DEBUG (MainThread) [zigpy.zcl] [0x576B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4447, tsn=36, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:23:51.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b"d\x10\x01\x03()\x989q=\x8a>\x959\xdf\x8f`?\x05!\t\x00\x9a \x00\x08!\x0b\x12\x07'\x00\x00\x00\x00\x00\x00\x00\x00\t!\x00\x05"))])
2022-11-13 16:23:51.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:1:0x0000] Received command 0x0A (TSN 36): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b"d\x10\x01\x03()\x989q=\x8a>\x959\xdf\x8f`?\x05!\t\x00\x9a \x00\x08!\x0b\x12\x07'\x00\x00\x00\x00\x00\x00\x00\x00\t!\x00\x05"))])
2022-11-13 16:23:51.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:1:0x0000] Attribute report received: 0xFF01=b"d\x10\x01\x03()\x989q=\x8a>\x959\xdf\x8f`?\x05!\t\x00\x9a \x00\x08!\x0b\x12\x07'\x00\x00\x00\x00\x00\x00\x00\x00\t!\x00\x05"
2022-11-13 16:23:51.369 DEBUG (MainThread) [zhaquirks.xiaomi] 00:15:8d:00:02:a9:d2:ee - Attribute report. attribute_id: [65281] value: [{'0xff01-100': <Bool.true: 1>, 'temperature': 41, 'power': 0.27000001072883606, 'consumption': 0.8771952986717224, 'X-attrib-5': 9, '0xff01-154': 0, '0xff01-8': 4619, '0xff01-7': 0, '0xff01-9': 1280}]
2022-11-13 16:23:52.161 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4AB8](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:23:52.161 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4AB8](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:23:52.217 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA9C0](ZB-CL01): last_seen is 53603.44318771362 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:23:52.218 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA9C0](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:24:04.366 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x576B), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=235, profile_id=260, cluster_id=12, data=Serialized[b'\x182\nU\x009q=\x8a>'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-54)
2022-11-13 16:24:04.366 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received ZCL frame: b'\x182\nU\x009q=\x8a>'
2022-11-13 16:24:04.367 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] 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=50, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:24:04.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Decoded ZCL frame: AnalogInputCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.27000001072883606))])
2022-11-13 16:24:04.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Received command 0x0A (TSN 50): Report_Attributes(attribute_reports=[Attribute(attrid=0x0055, value=TypeValue(type=Single, value=0.27000001072883606))])
2022-11-13 16:24:04.368 DEBUG (MainThread) [zigpy.zcl] [0x576B:2:0x000c] Attribute report received: present_value=0.27000001072883606
2022-11-13 16:24:05.151 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x29E0](ZB-CL01): last_seen is 57093.000864982605 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:24:05.151 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x29E0](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:24:05.172 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:24:05.172 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:24:06.163 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: async_update
2022-11-13 16:24:06.163 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD1E8:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:24:06.165 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: async_update
2022-11-13 16:24:06.166 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x576B:1:0x0b04]: Reading attributes in chunks: ['active_power']
2022-11-13 16:24:07.193 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x18F5](ZB-CL01): last_seen is 150162.00394916534 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:24:07.194 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x18F5](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:24:13.943 DEBUG (MainThread) [homeassistant.components.zha.entity] light.ewelight_zb_cl01_alyssa3_level_light_color_on_off: polling current state
2022-11-13 16:24:13.944 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=5, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:24:13.945 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 16:24:14.063 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x12F9), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=5, profile_id=260, cluster_id=6, data=Serialized[b'\x18\x05\x01\x00\x00\x00\x10\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=0, rssi=-96)
2022-11-13 16:24:14.064 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0006] Received ZCL frame: b'\x18\x05\x01\x00\x00\x00\x10\x01'
2022-11-13 16:24:14.064 DEBUG (MainThread) [zigpy.zcl] [0x12F9: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=5, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:24:14.065 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
2022-11-13 16:24:15.568 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=7, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:24:15.568 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0008] Sending request: Read_Attributes(attribute_ids=[0])
2022-11-13 16:24:15.653 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x12F9), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=6, profile_id=260, cluster_id=8, data=Serialized[b'\x18\x07\x01\x00\x00\x00 \x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-55)
2022-11-13 16:24:15.654 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0008] Received ZCL frame: b'\x18\x07\x01\x00\x00\x00 \x80'
2022-11-13 16:24:15.656 DEBUG (MainThread) [zigpy.zcl] [0x12F9: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=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:24:15.658 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0008] Decoded ZCL frame: LevelControl:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=128))])
2022-11-13 16:24:15.661 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x12F9:1:0x0008]: received attribute: 0 update with value: 128
2022-11-13 16:24:15.662 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x12F9:1:0x0300]: Reading attributes in chunks: ['color_mode', 'current_x', 'current_y', 'color_temperature', 'color_loop_active']
2022-11-13 16:24:15.663 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=9, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:24:15.664 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0300] Sending request: Read_Attributes(attribute_ids=[8, 3, 4, 7, 16386])
2022-11-13 16:24:15.766 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x12F9), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=7, profile_id=260, cluster_id=768, data=Serialized[b'\x18\t\x01\x08\x00\x000\x02\x03\x00\x00!\xc86\x04\x00\x00!\x86V\x07\x00\x00!\xff\x00\x02@\x00 \x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-54)
2022-11-13 16:24:15.767 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0300] Received ZCL frame: b'\x18\t\x01\x08\x00\x000\x02\x03\x00\x00!\xc86\x04\x00\x00!\x86V\x07\x00\x00!\xff\x00\x02@\x00 \x00'
2022-11-13 16:24:15.769 DEBUG (MainThread) [zigpy.zcl] [0x12F9: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=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=9, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-13 16:24:15.772 DEBUG (MainThread) [zigpy.zcl] [0x12F9:1:0x0300] Decoded ZCL frame: Color:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0008, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x02: 2>)), ReadAttributeRecord(attrid=0x0003, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=14024)), ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=22150)), ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=255)), ReadAttributeRecord(attrid=0x4002, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=0))])
2022-11-13 16:24:23.193 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): last_seen is 55026.01232743263 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:24:23.194 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): Update device availability - device available: False - new availability: False - changed: False

ts011f

@fasteddie-g
Copy link

fasteddie-g commented Nov 13, 2022

I updated the quirk file, added the additional import line at the top, and modified endpoints 1 and 2 with the suggested code. Similar user experience where changes in the UI doesn't impact the device.

Logs when I tried to toggle all 5 switches to off
2022-11-13 16:43:54.474 DEBUG (MainThread) [zigpy.zcl] [0x5605: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=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:43:54.475 DEBUG (MainThread) [zigpy.zcl] [0x5605:1:0x0006] Sending request: off()
2022-11-13 16:43:55.282 DEBUG (MainThread) [zigpy.zcl] [0x5605:2: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=23, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:43:55.282 DEBUG (MainThread) [zigpy.zcl] [0x5605:2:0x0006] Sending request: off()
2022-11-13 16:43:55.746 DEBUG (MainThread) [zigpy.zcl] [0x5605:3: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=25, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:43:55.746 DEBUG (MainThread) [zigpy.zcl] [0x5605:3:0x0006] Sending request: off()
2022-11-13 16:43:55.754 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x18F5](ZB-CL01): last_seen is 151350.56500911713 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:43:55.755 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x18F5](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:43:56.217 DEBUG (MainThread) [zigpy.zcl] [0x5605:4: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=27, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:43:56.218 DEBUG (MainThread) [zigpy.zcl] [0x5605:4:0x0006] Sending request: off()
2022-11-13 16:43:56.641 DEBUG (MainThread) [zigpy.zcl] [0x5605:5: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=29, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-13 16:43:56.642 DEBUG (MainThread) [zigpy.zcl] [0x5605:5:0x0006] Sending request: off()
2022-11-13 16:43:59.187 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5605:1:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:43:59.723 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Device seen - marking the device available and resetting counter
2022-11-13 16:43:59.723 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x12F9](ZB-CL01): Update device availability - device available: True - new availability: True - changed: False
2022-11-13 16:43:59.993 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5605:2:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:44:00.456 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5605:3:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:44:00.762 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA9C0](ZB-CL01): last_seen is 54811.98769211769 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:44:00.762 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA9C0](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:44:00.926 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5605:4:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:44:01.351 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5605:5:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: 'Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'
2022-11-13 16:44:02.738 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): last_seen is 56205.55712080002 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:44:02.738 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4F93](TS0505B): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:44:03.683 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2425](ZB-CL01): last_seen is 58291.454933166504 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-11-13 16:44:03.684 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2425](ZB-CL01): Update device availability - device available: False - new availability: False - changed: False
2022-11-13 16:44:04.996 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5605](TS011F): Device seen - marking the device available and resetting counter
2022-11-13 16:44:04.997 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5605](TS011F): Update device availability - device available: True - new availability: True - changed: False
Diagnostic info
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "5.15.74",
    "supervisor": "2022.10.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "zha_toolkit": {
      "version": "v0.8.23",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "keymaster": {
      "version": "v0.0.82",
      "requirements": []
    },
    "fordpass": {
      "version": "0.1.37",
      "requirements": []
    },
    "alexa_media": {
      "version": "4.3.2",
      "requirements": [
        "alexapy==1.26.4",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "dwains_dashboard": {
      "version": "3.3.0",
      "requirements": []
    }
  },
  "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.85",
      "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": 22021,
    "manufacturer": "_TZ3000_cfnprab5",
    "model": "TS011F",
    "name": "_TZ3000_cfnprab5 TS011F",
    "quirk_applied": true,
    "quirk_class": "ts011f_plug.Plug_4AC_2USB_Var04",
    "manufacturer_code": 4660,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -73,
    "last_seen": "2022-11-13T16:40:24",
    "available": true,
    "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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=11264, maximum_outgoing_transfer_size=0, 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": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "2": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "3": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "4": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        },
        "5": {
          "profile_id": 260,
          "device_type": "0x010a",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe001"
          ],
          "out_clusters": []
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.tz3000_cfnprab5_ts011f_identify",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "select.tz3000_cfnprab5_ts011f_power_on_state",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_2",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_3",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_4",
        "name": "_TZ3000_cfnprab5 TS011F"
      },
      {
        "entity_id": "switch.tz3000_cfnprab5_ts011f_switch_5",
        "name": "_TZ3000_cfnprab5 TS011F"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      },
      {
        "name": "ON_OFF_PLUG_IN_UNIT"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "dae136678dadbce01e0bbeeef1872278",
    "area_id": null,
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0000": {
                "attribute_name": "zcl_version",
                "value": 2
              },
              "0x0001": {
                "attribute_name": "app_version",
                "value": 100
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3000_cfnprab5"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS011F"
              },
              "0x0007": {
                "attribute_name": "power_source",
                "value": 1
              }
            },
            "unsupported_attributes": {
              "0xfffe": {
                "attribute_name": "attr_reporting_status"
              }
            }
          },
          "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
              },
              "0x8002": {
                "attribute_name": "power_on_state",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "2": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "3": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "4": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      },
      "5": {
        "device_type": {
          "name": "ON_OFF_PLUG_IN_UNIT",
          "id": 266
        },
        "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": {
              "0x8002": {
                "attribute_name": "power_on_state"
              },
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {}
      }
    }
  }
}
updated ts011f_plug.py file
"""TS011F plug."""

from zhaquirks.tuya.mcu import EnchantedDevice, TuyaOnOffNM
from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    GreenPowerProxy,
    Groups,
    Identify,
    OnOff,
    Ota,
    Scenes,
    Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODEL,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaNewManufCluster,
    TuyaZBE000Cluster,
    TuyaZBElectricalMeasurement,
    TuyaZBExternalSwitchTypeCluster,
    TuyaZBMeteringCluster,
    TuyaZBOnOffAttributeCluster,
)
from zhaquirks.tuya.mcu import EnchantedDevice


class Plug_4AC_2USB_cfnprab5(EnchantedDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=[0, 3, 4, 5, 6, 57344, 57345]
            # output_clusters=[10, 25]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            # <SimpleDescriptor endpoint=2 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=3 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=4 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=5 profile=260 device_type=266
            # device_version=1
            # input_clusters=[4, 5, 6, 57345]
            # output_clusters=[]>
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            # <SimpleDescriptor endpoint=242 profile=41440 device_type=97
            # device_version=1
            # input_clusters=[]
            # output_clusters=[33]>
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaOnOffNM,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaOnOffNM,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

class Plug_4AC_2USB_Var04(EnchantedDevice):
    """Tuya 4 outlet + 2 USB (variation 04))."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=266
            # device_version=1
            # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
            # output_clusters=[]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe001"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }

add_device_log.txt

@harveyorg
Copy link

what quirk is associated with it? I copied the original fix (which basically removes identity.cluster_id and TuyaZBE000Cluster.cluster_id from endpoints 2,3,4,5) in a class called Plug_4AC_2USB_cfnprab5. Now, even though this quirk has been reinstalled by a monthly update it's still work (I assume it's cached and would break if I tried to pair again).

image

If you're device is matched to the cfnprab5 version of the class then maybe it's hardware related?

@MattWestb
Copy link
Contributor

After adding EnchantedDevice to the device class you need deleting the device in ZHA and waiting one minute and adding it new.
If not doing it the the "tuya magic" is not casted and all switches is being as one from the GUI.

@botswanabub
Copy link

what quirk is associated with it? I copied the original fix (which basically removes identity.cluster_id and TuyaZBE000Cluster.cluster_id from endpoints 2,3,4,5) in a class called Plug_4AC_2USB_cfnprab5. Now, even though this quirk has been reinstalled by a monthly update it's still work (I assume it's cached and would break if I tried to pair again).

hi, can u show your config in the ts*** file ... I tried it too without success.

@botswanabub
Copy link

finally worked, not sure why, I think because of deleting pycache in the tuya folder. have to checkup and come back.

TS011F_TZ3000_cfnprab5_homeassistant

@TheJulianJES TheJulianJES added Tuya Request/PR regarding a Tuya device custom quirk available A custom quirk is available to solve the issue, but it's not merged in the repo yet labels Mar 10, 2023
@MaxMSchneider
Copy link

MaxMSchneider commented Mar 10, 2023

Hey all,

I recently purchased this power strip to replace my other one running on localtuya. Problem is, I can't get it to pair even.

While pairing in ZHA it is discovered, but can not finish the interview as it seems. Tried pairing via only the coordinator as well as the closest router(s). The strange behavior is that it seems to leave the network, constantly swapping to another one.

I did pull the quirk out of the directory and placed it accordingly. Anything I need to do with it before it works? It's my first time using quirks and zha. Recently swapped over from Z2M when I got the skyconnect.

Anyone had this issue, too?

@javicalle
Copy link
Collaborator

Please open a new issue with all the required info.
Attach also the logs from the pairing process.

@ingoratsdorf
Copy link

While this is closed, it's the best place for another version of
TS011F
by _TZ3000_cfnprab5

My version has 4AC plug points and 4 USB ports and no power restore etc. Really only 5 switches and nothing else.
The quirk for that one works for me:

"""TS011F multiboard with 4 outlet + 4 USB without any metering or restore"""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    Groups,
    Identify,
    OnOff,
    Scenes,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement
from zigpy.zcl.clusters.smartenergy import Metering

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

class Plug_4AC_2USB_TZ3000_cfnprab5(CustomDevice):
    """Tuya 4 outlet + 4 USB without any metering or restore"""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            1: {
                # <SimpleDescriptor endpoint=1 profile=260 device_type=0x0100
                # input_clusters=[0, 3, 4, 5, 6, 0xe001]
                # output_clusters=[]>
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                # <SimpleDescriptor endpoint=1 profile=260 device_type=0x0100
                # input_clusters=[0, 3, 4, 5, 6, 0xe001]
                # output_clusters=[]>
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                # <SimpleDescriptor endpoint=1 profile=260 device_type=0x0100
                # input_clusters=[0, 3, 4, 5, 6, 0xe001]
                # output_clusters=[]>
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                # <SimpleDescriptor endpoint=1 profile=260 device_type=0x0100
                # input_clusters=[0, 3, 4, 5, 6, 0xe001]
                # output_clusters=[]>
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                # <SimpleDescriptor endpoint=1 profile=260 device_type=0x0100
                # input_clusters=[0, 3, 4, 5, 6, 0xe001]
                # output_clusters=[]>
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBExternalSwitchTypeCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                    TuyaZBExternalSwitchTypeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }

@gitolicious
Copy link

gitolicious commented Nov 20, 2023

...aaaaaand here comes another one. 4 AC channels, Dual-USB and power state restore. Bought in 11/2023 from amazon.de with "SM-SO306-EZ" model number.

Plug_4AC_2USB_Var06
class Plug_4AC_2USB_Var06(EnchantedDevice):
    """Tuya 4 outlet + 2 USB surge protector with restore power state support (variation 06)."""

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=256
            # device_version=1
            # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe000"]
            # output_clusters=["0x000a"]>
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id],
            },
            2: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe000"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe000"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe000"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                # input_clusters=["0x0000","0x0003","0x0004","0x0005","0x0006","0xe000"]
                # output_clusters=[]
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    OnOff.cluster_id,
                    TuyaZBE000Cluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            4: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
            5: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_PLUG_IN_UNIT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Identify.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaZBOnOffAttributeCluster,
                ],
                OUTPUT_CLUSTERS: [],
            },
        },
    }

Child Lock and Backlight Mode are missing and it is not clear to me, how to add it back. They are visible and functional in HA at the "Manage Zigbee device" menu > "Clusters" > "TuyaZBOnOffAttributeCluster (Endpoint id: 1, Id: 0x0006, Type: in)" > Attributes > "backlight_mode (id: 0x8001)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom quirk available A custom quirk is available to solve the issue, but it's not merged in the repo yet Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

No branches or pull requests