zha-device-handlers icon indicating copy to clipboard operation
zha-device-handlers copied to clipboard

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

Open tim-geier opened this issue 2 years ago • 30 comments

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

tim-geier avatar Jun 24 '22 18:06 tim-geier

Your device is nearly the same its not having one extra cluster that is missing on some endpoints. https://github.com/zigpy/zha-device-handlers/blob/71c95b76751ada487314eda2bc3bde5246f7dea0/zhaquirks/tuya/ts011f_plug.py#L439 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.

MattWestb avatar Jun 24 '22 19:06 MattWestb

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],
            },
        },
    }

javicalle avatar Jun 24 '22 19:06 javicalle

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 :)

tim-geier avatar Jun 24 '22 19:06 tim-geier

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

MattWestb avatar Jun 24 '22 20:06 MattWestb

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

javicalle avatar Jun 24 '22 20:06 javicalle

Not in endpoint 1

javicalle avatar Jun 24 '22 20:06 javicalle

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.

MattWestb avatar Jun 24 '22 20:06 MattWestb

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?

tim-geier avatar Jun 24 '22 20:06 tim-geier

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.

MattWestb avatar Jun 24 '22 20:06 MattWestb

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.

tim-geier avatar Jun 24 '22 21:06 tim-geier

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 avatar Jun 24 '22 21:06 javicalle

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.

javicalle avatar Jun 24 '22 21:06 javicalle

@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 !!

MattWestb avatar Jun 24 '22 21:06 MattWestb

@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...

tim-geier avatar Jun 24 '22 21:06 tim-geier

The 'NO_MANUFACTURER' will require more changes...

Restore the TuyaOnOffNM cluster and replace the class defition with:

class Plug_4AC_2USB_xenon(EnchantedDevice):

javicalle avatar Jun 24 '22 21:06 javicalle

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.

tim-geier avatar Jun 25 '22 06:06 tim-geier

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?

javicalle avatar Jun 25 '22 11:06 javicalle

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

tim-geier avatar Jun 25 '22 15:06 tim-geier

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?

  • https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/tuya.js#L1347-L1355

javicalle avatar Aug 11 '22 16:08 javicalle

Ummmm, there is a especific converter for this device:

  • https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/useelink.js#L25-L44

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.

javicalle avatar Aug 11 '22 16:08 javicalle

@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.

yruss972 avatar Aug 11 '22 17:08 yruss972

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 avatar Aug 11 '22 17:08 javicalle

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:

  • create a OnOffGroupCluster class just like in:
    • https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/lutron/lzl4bwhl01remote.py#L40-L42
  • use it in the replacement part

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...

javicalle avatar Aug 11 '22 18:08 javicalle

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

yruss972 avatar Aug 11 '22 19:08 yruss972

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.

javicalle avatar Aug 11 '22 19:08 javicalle

@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.

MattWestb avatar Aug 11 '22 20:08 MattWestb

@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.

yruss972 avatar Aug 12 '22 13:08 yruss972

@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.

javicalle avatar Aug 12 '22 17:08 javicalle

@yruss972 Thanks for testing and for your detailed response.

The first TuyaZBOnOffAttributeCluster is the cluster for the plug1, right? I think being able to define an aditional global switch would be a huge improvement for these types of devices (I think the Tuya app represents it that way). IMO that switch would be a candidate to handle those 'global' settings. In any case, it is not something simple to handle and I would not handle it in this same issue.

Do you feel able to create the PR for this device? I can try to give you support in whatever you need.

javicalle avatar Aug 12 '22 18:08 javicalle

If having one in group cluster on one endpoint ZHA is adding the device / endpoint of the device in group manager and can being added as one light in ZHA groups (Zigbee groups) that using broadcast for commands. If adding one group out cluster to one endpoint is normally one controller that is sending commands to one bonded group and ZHA is adding bound functionality in the device cards cluster management.

tuya have doing strange device like the TS04F (dimmer switch / remote) that cant being bound to one group but have in cluster that is possible adding groups to as one light and its sending commands to the group (110T not Zigbee standard).

One light switch (one rely for receiving on/off commands / end point and one controller / endpoint the sending commands) shall having group cluster on its endpoints and in and out for working OK as one normal light and one normal light controller on the same endpoint and adding groups and binding is making it working autonomous then the host / NCP is off line.

MattWestb avatar Aug 12 '22 18:08 MattWestb