Repository: zigpy/zha-device-handlers

Issue:
[BUG]Unexpected interaction with New Dimmer quirk and Dimmer switch TS0601 _TZE200_1agwnems
Thanks to the great work by the contributors here I have full control of my [dimmer switches](https://www.ozsmartthings.com.au/products/zigbee-dimmer-switch). (dimmer switch TS0601 _TZE200_1agwnems)! Thank you very much! 
There is however a small problem, changing the brightness slider causes the light to momentarily turn off almost like a reset for a fraction of a second (time it takes to blink almost) and then from full brightness goes down to the selected brightness. Expected result would be for the dimmer to change from eg. 40% to 50% **instead** it goes from 40% to off(barely noticeable) to 100% and slowly dims to 50%. 

**To Reproduce**
Steps to reproduce the behavior:
1. With the dimmer either on or off change the brightness value of dimmer using either automation or via the entity
2. Become blinded for a time until the light slowly dims to the set value from its max value.

**Expected behavior**
Sliding the brightness slider from eg. 0% to 40% should slowly step through the levels of brightness from 0 to 40% and sliding it bac from 40% to 0% should smoothly transition from 40% brightness to 0%

<details>
<summary>Device signature - this can be acquired by clicking on the "Zigbee Device Signature" button in the device settings</summary>

```
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0008",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_1agwnems",
  "model": "TS0601",
  "class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer"
}
```

</details>

<details>
<summary>Diagnostic information - this can be acquired by clicking on the "Download Diagnostics" button in the device settings</summary>

```
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.5.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Australia/Sydney",
    "os_name": "Linux",
    "os_version": "5.10.108",
    "supervisor": "2022.05.0",
    "host_os": "Home Assistant OS 7.6",
    "docker_version": "20.10.9",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "xiaomi_miot_raw": {
      "version": "v1.3.1",
      "requirements": [
        "construct",
        "python-miio>=0.5.3"
      ]
    },
    "localtuya": {
      "version": "3.2.1",
      "requirements": []
    },
    "webrtc": {
      "version": "v2.3.0",
      "requirements": []
    },
    "meross_lan": {
      "version": "2.5.8",
      "requirements": []
    },
    "hacs": {
      "version": "1.24.5",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "reolink_dev": {
      "version": "0.52",
      "requirements": [
        "reolink==0.0.61"
      ]
    },
    "samsungtv_smart": {
      "version": "0.6.1",
      "requirements": [
        "websocket-client>=0.58.0",
        "wakeonlan>=2.0.0",
        "aiofiles>=0.8.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.29.0",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.73",
      "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": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      }
    ],
    "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": 65143,
    "manufacturer": "_TZE200_1agwnems",
    "model": "TS0601",
    "name": "_TZE200_1agwnems TS0601",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer",
    "manufacturer_code": 4098,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -84,
    "last_seen": "2022-05-09T02:07:28",
    "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=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0x0006",
            "0x0008",
            "0xef00"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      }
    },
    "entities": [
      {
        "entity_id": "light.youssefs_room_level_on_off",
        "name": "_TZE200_1agwnems TS0601"
      }
    ],
    "neighbors": [
      {
        "device_type": "Coordinator",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0000",
        "permit_joining": "Unknown",
        "depth": "0",
        "lqi": "107"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x56EF",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "120"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8073",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "89"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x83FA",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "190"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x88FE",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "117"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Parent",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x9527",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "236"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xB150",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "114"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xB797",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "120"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xC54C",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "102"
      }
    ],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": "REDACTEDS's Room",
    "device_reg_id": "1bac9fa15b21a8d52d1e563874e74754",
    "area_id": null
  }
}
```

</details>

<details>
<summary>Logs -  Here are some logs I found during the time I Changed the brightness, I don't know how useful this would be, but if you have any information on where and how I can dig up more useful information to diagnose this please let me know!</summary>

```
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Received ZCL frame: b'\t.\x01\x00\x8c\x01\x01\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=46, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=140, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>)))
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'77fe69cbd1feffea3590ffc502fa834cc5'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100000bffc577feffff0a096d01005a010100010106'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=11), 255, -59, 0xfe77, 255, 255, b'\tm\x01\x00Z\x01\x01\x00\x01\x01']
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fcda0e9e300>)
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fcda0e9e300>) completed
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Received ZCL frame: b'\tm\x01\x00Z\x01\x01\x00\x01\x01'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=109, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=90, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Received command 0x01 (TSN 109): get_data(data=TuyaCommand(status=0, tsn=90, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_attribute event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] 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=109, command_id=<GeneralCommand.Default_Response: 11>, *is_reply=True)
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'412ab1ed542e14b2b6954b25ab5592b469e5542b12316d82c2c763bbfd7f3fa6ebc9a9bd7e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'512ab1f127aa7a0f886ab5cf9fc56de29db0afe2c57e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'612ab1f173bfdef68f6ab5cf9fc56de39db0aff9807e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'
2022-05-10 02:01:06 DEBUG (MainThread) [hass_nabucasa.google_report_state] Publishing message:
{'msgid': '5cb8a4fce42f465abb1beaec88216a6d',
 'payload': {'devices': {'states': {'light.youssefs_room_level_on_off': {'brightness': 37,
                                                                         'on': True,
                                                                         'online': True}}}}}

2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x8073, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=56), 149, b'\x188\x0b\x01\x00')
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef010100010000fdf5ab7380ffff0a093f010032010100010004'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=253), 245, -85, 0x8073, 255, 255, b'\t?\x01\x002\x01\x01\x00\x01\x00']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Received ZCL frame: b'\t?\x01\x002\x01\x01\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'172b219c545995b65894a524ab1593499c76b2aef5f66c8afdfd877e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=63, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.device] [0x8073] Invalid state on future for 0x3f seq -- probably duplicate response
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'73806fbdd1feffea3590ffab01fe88'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x8073, 90:35:ea:ff:fe:d1:bd:6f, 255, -85, [0x88fe]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x8073, 90:35:ea:ff:fe:d1:bd:6f, 255, -85, [0x88fe])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'2795cb44d6feffea3590ffaa01fe88'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x9527, 90:35:ea:ff:fe:d6:44:cb, 255, -86, [0x88fe]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x9527, 90:35:ea:ff:fe:d6:44:cb, 255, -86, [0x88fe])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'712ab1f1bb7c897a886ab5cf9fc568ee9cfac27e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'012ab1f123d47c79886ab5cf9fc56d8c9eb4a4e7289baf7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'112ab1ed542e14b2b6954b25ab55923063e5003e12316d82d3c76305fd7f3fa6ebc913e07e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'82503a7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'222ba19c54df3d607e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e'
2022-05-10 02:01:06 DEBUG (MainThread) [homeassistant.components.http.view] Serving /api/hassio_ingress/-vSDmX6Eydea08IgIZXQ8kjyb41sAks9CmmU5CJmpRw/ to 192.168.0.191 (auth: False)
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'ef569cc8d1feffea3590faa700'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 250, -89, []]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 250, -89, [])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'77fe69cbd1feffea3590ffc502fa834cc5'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef01010001000079ffab2795ffff0a092e01008c010100010004'
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fcda0e9e300>, 'UPDATE devices_v8 SET last_seen=? WHERE ieee=?', (datetime.datetime(2022, 5, 9, 15, 38, 9, 3618, tzinfo=datetime.timezone.utc), 90:35:ea:ff:fe:d1:cb:69))
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fcda0e9e300>, 'UPDATE devices_v8 SET last_seen=? WHERE ieee=?', (datetime.datetime(2022, 5, 9, 15, 38, 9, 3618, tzinfo=datetime.timezone.utc), 90:35:ea:ff:fe:d1:cb:69)) completed
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=121), 255, -85, 0x9527, 255, 255, b'\t.\x01\x00\x8c\x01\x01\x00\x01\x00']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Received ZCL frame: b'\t.\x01\x00\x8c\x01\x01\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=46, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'322bb1f1c39dbd72886ab5cf9fc56d8c9eb4a4e72874f97e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'422bb1ed542e14b2b6954b25ab55920e63e8c8fd12316d82bfc763bcf87a3fa6ebcfa9ce7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x9527:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=140, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.device] [0x9527] Invalid state on future for 0x2e seq -- probably duplicate response
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b'00f5'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'522bb1ed542e14b2b6954b25ab559245638b505512316d8290c763d3fd7f3fa6eacb3dcc7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'622bb1ed542e14b2b6954b25ab559202638bb01c12316d82ccc76306f87a3fa6ebcb388d7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'97b7a8c0d1feffea3590ffc502fa834cc5'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xb797, 90:35:ea:ff:fe:d1:c0:a8, 255, -59, [0x83fa, 0xc54c]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xb797, 90:35:ea:ff:fe:d1:c0:a8, 255, -59, [0x83fa, 0xc54c])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef01010001000047ffa6ef56ffff0a0942010035040400010002'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'722bb197545995b65894a524ab1593499cbbb2abed1a247e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=71), 255, -90, 0x56ef, 255, 255, b'\tB\x01\x005\x04\x04\x00\x01\x00']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] Received ZCL frame: b'\tB\x01\x005\x04\x04\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=66, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=53, dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] Received command 0x01 (TSN 66): get_data(data=TuyaCommand(status=0, tsn=53, dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_attribute event
2022-05-10 02:01:06 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x56EF:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] 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=66, command_id=<GeneralCommand.Default_Response: 11>, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x56EF:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'022bb1ed542e14b2b6954b25ab5592b763e5542b12316d82c2c763bbfd7f3fa6ebc9bec67e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100000cffc577feffff0a096d01005a010100010106'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=12), 255, -59, 0xfe77, 255, 255, b'\tm\x01\x00Z\x01\x01\x00\x01\x01']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Received ZCL frame: b'\tm\x01\x00Z\x01\x01\x00\x01\x01'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=109, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=90, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100004bffc597b7ffff0a093101008f040400010006'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=75), 255, -59, 0xb797, 255, 255, b'\t1\x01\x00\x8f\x04\x04\x00\x01\x00']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] Received ZCL frame: b'\t1\x01\x00\x8f\x04\x04\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'122bb1f127aa7a0f886ab5cf9fc56de29db0afa1807e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'82503a7e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=49, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=143, dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] Received command 0x01 (TSN 49): get_data(data=TuyaCommand(status=0, tsn=143, dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_attribute event
2022-05-10 02:01:06 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB797:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'222bb1f123d47c79886ab5cf9fc56d8c9eb4a4e728cd9c7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] 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=49, command_id=<GeneralCommand.Default_Response: 11>, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xB797:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'007380040100ef010140010000f5950000'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 32883, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=245), 149, <EmberStatus.SUCCESS: 0>, b'']
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'322bb1ed542e14b2b6954b25ab559244638b505512316d8290c763d3fd7f3fa6eacb18e47e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.util] Duplicate 200 TSN
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef010100010000feffab7380ffff0a093f010032010100010004'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=254), 255, -85, 0x8073, 255, 255, b'\t?\x01\x002\x01\x01\x00\x01\x00']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fcda0e9e300>)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Received ZCL frame: b'\t?\x01\x002\x01\x01\x00\x01\x00'
2022-05-10 02:01:06 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fcda0e9e300>) completed
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=63, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0x8073:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>)))
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'422bb1ed542e14b2b6954b25ab55923363e5003e12316d82d3c76305fd7f3fa6ebc956ce7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'522bb1f173bfdef68f6ab5cf9fc57de59db0af08957e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'622bb1f127aa7a0f886ab5cf9fc56de39db0af46a77e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'722bb1f127aa7a0f886ab5cf9fc56de29db0af004e7e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.device] [0x8073] Invalid state on future for 0x3f seq -- probably duplicate response
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'73806fbdd1feffea3590ffab01fe88'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x8073, 90:35:ea:ff:fe:d1:bd:6f, 255, -85, [0x88fe]]
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x8073, 90:35:ea:ff:fe:d1:bd:6f, 255, -85, [0x88fe])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'77fe69cbd1feffea3590ffc502fa834cc5'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c]]
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'022bb1ed542e14b2b6954b25ab5592b663e5542b12316d82c2c763bbfd7f3fa6ebc960d97e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xfe77, 90:35:ea:ff:fe:d1:cb:69, 255, -59, [0x83fa, 0xc54c])
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_relays event
2022-05-10 02:01:06 DEBUG (MainThread) [zeroconf] IPv6 scope_id 0 associated to the receiving interface
2022-05-10 02:01:06 DEBUG (MainThread) [zeroconf] Ignoring duplicate message received from '::ffff:192.168.0.133':5353 [socket 12 (('::', 5353, 0, 0))] (126 bytes) as [b'\x00\x00\x84\x00\x00\x00\x00\x01\x00\x00\x00\x01\x06iPhone\x07_rdlink\x04_tcp\x05local\x00\x00\x10\x80\x01\x00\x00\x11\x94\x008\x16rpBA=88:EC:9E:B8:47:14\x0erpVr=340.19.11\x11rpAD=7a2bf5330949\xc0\x0c\x00/\x80\x01\x00\x00\x11\x94\x00\t\xc0\x0c\x00\x05\x00\x00\x80\x00@']
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100000dffc577feffff0a096d01005a010100010106'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=13), 255, -59, 0xfe77, 255, 255, b'\tm\x01\x00Z\x01\x01\x00\x01\x01']
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Received ZCL frame: b'\tm\x01\x00Z\x01\x01\x00\x01\x01'
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=109, command_id=1, *is_reply=True)
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=90, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 02:01:06 DEBUG (MainThread) [zigpy.device] [0xfe77] Invalid state on future for 0x6d seq -- probably duplicate response
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100007affab2795ffff0a092e01008c010100010004'
2022-05-10 02:01:06 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=122), 255, -85, 0x9527, 255, 255, b'\t.\x01\x00\x8c\x01\x01\x00\x01\x00']
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'122bb1f173bfdef68f6ab5cf9fc56de29db0af9c967e'
2022-05-10 02:01:06 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'82503a7e'
2022-05-10 02:01:06 WARNING (MainThread) [zigpy.appdb] Discarding _save_device_last_seen event

```
</details>

<details>
<summary>Logs 2</summary>

```
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139696786098016] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.youssefs_room_level_on_off', 'brightness_pct': 61}, 'id': 89}
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder] Processing task: EventTask(event=<Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.youssefs_room_level_on_off, brightness_pct=61>)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (156, 1)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=1, expect_reply=True)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] get_dp_mapping --> found DP: 1
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_cluster_data: 1, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] ztype: Bool.true
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_value: [1, 1]
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] raw: b'\x01'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=34, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))
2022-05-10 13:30:23 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f0daf3d9e40>) completed
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), manufacturer=4098, tsn=35, command_id=0, *is_reply=False)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=34, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=156, expect_reply=True)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] get_dp_mapping --> found DP: 2
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_cluster_data: 2, DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f0daf5f4ca0>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f0daf5f4d30>, endpoint_id=None)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] converted: 611
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] ztype: 611
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_value: [4, 0, 0, 2, 99]
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] raw: b'\x00\x00\x02c'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=36, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02c', *payload=1661075456))
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), manufacturer=4098, tsn=37, command_id=0, *is_reply=False)
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'200db1f1bb7c897a886ab5cf9fc56fef9c140f7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=36, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02c', *payload=1661075456)))
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE77:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '(156, 1)' kwargs: '{}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'300db1ed542e14b2b6954b25ab55926363889de812316d82c2c763bbfd7f3fa6ebc9dd587e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'400db1f1bb7c897a886ab5cf9fc56eef9c67397e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'500db19754c543b65894a524ab1593499cd806abed7bb97e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xFE77, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=35), 38, b'\x05\x02\x10#\x00\x00"\x01\x01\x00\x01\x01')
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'0612219c545debb65894a524ab1593499c6d01a7e8cc77a8fdc64188fd7d5e3ea61e1f7e'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'ef569cc8d1feffea3590fda600'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 253, -90, []]
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 253, -90, [])
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.homekit.accessories] New_state: <state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=156, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>
2022-05-10 13:30:23 DEBUG (MainThread) [pyhap.characteristic] set_value: On to 1
2022-05-10 13:30:23 DEBUG (MainThread) [pyhap.characteristic] set_value: Brightness to 61.0
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100002affc6ba43ffff0a093f010032010100010004'
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder] Processing task: EventTask(event=<Event state_changed[L]: entity_id=light.youssefs_room_level_on_off, old_state=<state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=53, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>, new_state=<state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=156, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>>)
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0x7f0db4d82e40> checked out from pool
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'600db1ed542e14b2b6954b25ab55929670e8c8fd12316a828cc76b8bff7c3fa3ebcdde6e8db4667e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'

```
</details>

 Please let me know if there is any further information you require! Thank you!




Discussion:
Please, can you attach a debug log from the device operation?
We need to see if there are multiple commands when light is dimmed or just one command send.
> Please, can you attach a debug log from the device operation? We need to see if there are multiple commands when light is dimmed or just one command send.

Sorry, I am having trouble finding the debug logs for the device, are you looking for the /config/homeassistant.log file?
I've set the logger to debug in configuration.yaml but there is a ton of text so sift through do I need to filter it? and if so how? Your help is appreciated!

Edit: I've added some logs to the original comment
Have you enabled the debug logs for `zhaquirks`?
It is expected that you will have traces of the type `Sending Tuya Cluster Command... Cluster Command is %x, Arguments are %s` when turn on/off the device or of the type `Sending Tuya Cluster Command. Cluster Command is %x, Arguments are %s` when dimming the device.

In addition there are traces of at least 5 different devices (the first value of the tuple `[0x8073:1:0xef00]` defines the device). 
We need to get the correct info to be able to understand what is happening.

I am aware that it is not an easy task if you are not used to it, but it is necessary for someone with the device to do this analysis in order to give a correct answer.
> Have you enabled the debug logs for `zhaquirks`? It is expected that you will have traces of the type `Sending Tuya Cluster Command... Cluster Command is %x, Arguments are %s` when turn on/off the device or of the type `Sending Tuya Cluster Command. Cluster Command is %x, Arguments are %s` when dimming the device.
> 

<details>
<summary>Diagnostic information - I enabled debug logs for zhaquriks and others found on the zha debug page on homeassistant.io and found some of the "Sending Tuya Cluster Command" lines you were looking for, Please let me know if you need more info,  I greatly appreciate your help</summary>

```
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139696786098016] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.youssefs_room_level_on_off', 'brightness_pct': 61}, 'id': 89}
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder] Processing task: EventTask(event=<Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.youssefs_room_level_on_off, brightness_pct=61>)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (156, 1)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=1, expect_reply=True)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] get_dp_mapping --> found DP: 1
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_cluster_data: 1, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] ztype: Bool.true
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_value: [1, 1]
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] raw: b'\x01'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=34, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))
2022-05-10 13:30:23 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f0daf3d9e40>) completed
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), manufacturer=4098, tsn=35, command_id=0, *is_reply=False)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=34, dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>)))
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=156, expect_reply=True)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] get_dp_mapping --> found DP: 2
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_cluster_data: 2, DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f0daf5f4ca0>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f0daf5f4d30>, endpoint_id=None)
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] converted: 611
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] ztype: 611
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_value: [4, 0, 0, 2, 99]
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] raw: b'\x00\x00\x02c'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=36, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02c', *payload=1661075456))
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), manufacturer=4098, tsn=37, command_id=0, *is_reply=False)
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'200db1f1bb7c897a886ab5cf9fc56fef9c140f7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e'
2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=36, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02c', *payload=1661075456)))
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE77:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '(156, 1)' kwargs: '{}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'300db1ed542e14b2b6954b25ab55926363889de812316d82c2c763bbfd7f3fa6ebc9dd587e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'400db1f1bb7c897a886ab5cf9fc56eef9c67397e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'500db19754c543b65894a524ab1593499cd806abed7bb97e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0xFE77, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=35), 38, b'\x05\x02\x10#\x00\x00"\x01\x01\x00\x01\x01')
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'0612219c545debb65894a524ab1593499c6d01a7e8cc77a8fdc64188fd7d5e3ea61e1f7e'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 89 (incomingRouteRecordHandler) received: b'ef569cc8d1feffea3590fda600'
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 253, -90, []]
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x56ef, 90:35:ea:ff:fe:d1:c8:9c, 253, -90, [])
2022-05-10 13:30:23 DEBUG (MainThread) [homeassistant.components.homekit.accessories] New_state: <state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=156, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>
2022-05-10 13:30:23 DEBUG (MainThread) [pyhap.characteristic] set_value: On to 1
2022-05-10 13:30:23 DEBUG (MainThread) [pyhap.characteristic] set_value: Brightness to 61.0
2022-05-10 13:30:23 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'00040100ef0101000100002affc6ba43ffff0a093f010032010100010004'
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder] Processing task: EventTask(event=<Event state_changed[L]: entity_id=light.youssefs_room_level_on_off, old_state=<state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=53, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>, new_state=<state light.youssefs_room_level_on_off=on; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], color_mode=brightness, brightness=156, off_brightness=None, friendly_name=Youssef's Room level, on_off, supported_features=33 @ 2022-05-10T13:29:08.224809+10:00>>)
2022-05-10 13:30:23 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0x7f0db4d82e40> checked out from pool
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'600db1ed542e14b2b6954b25ab55929670e8c8fd12316a828cc76b8bff7c3fa3ebcdde6e8db4667e'
2022-05-10 13:30:23 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'

```
</details>

Also, regarding the dimmer itself, tapping the dimming buttons works as expected. However, if it was set at 40% brightness for example and I turn it off and back on again from the middle button, the lights go from 100% to 40%(The previous state it was in before turning it off) instead of a smooth transition from 0% to 40%. 

This behaviour is the same thing I'm experiencing if I remotely access it, the quirk seems to be not just sending a brightness command but also a command to turn it on again (since it's already on it flashes off and on really quick). 

I'm not completely sure how the quirk functions but if its sending both brightness and on/off commands at the same time this would cause it to behave like this. A fix may be to send only brightness commands to the dimmer and off commands when they hit 0% brightness. 

Well, let's analyze it step by step.

1. If the device has a behavior when you operate it manually, the quirk won't change it at all. The quirk acts as a translator between (for example) HA and the device, but cannot change the behavior of the physical device.

2. Recently a behavior has been 'corrected' in some of the quirks (including a few Tuya dimmers). HA sends a `move_to_level_with_on_off` command when the dim bar is operated from the UI. With the corrected implementation, the quirk sends the corresponding `on_off` command and the `dim` command. This behavior is 'normal' in standard Zigbee devices and that is why it has been adapted in this way. 
Maybe it can be improved, but I'm not going to argue that the behavior has to be different on a particular device. If it is reviewed it will be for any implementation, not a device specific one.

About point 2, you can imagine how it goes. Someone complains that their device won't turn on when they move the dim bar. The reason is detected and _corrected_. Then someone complains that they have lost the ability to modify the value of dim _without turning on the device_ and that this is a bug, and so on...
That is why I am not going to look for a solution for 1 device. I'm only going to implement the solution that fits the 'standard' behavior. I hope you understand my reasons.

IMO the quirk is working (for your device) as expected. In your logs I don't see anything unusual and, as you as said, its behavior is consistent with what is expected.

However I'm going to check what the dim behavior is in HA (sends always on/off command when the dim bar is moved?). I will also review what is 'normal' behavior when (for example) a Zigbee device that is already on receives an `on` command. Maybe this point could be improved, but it adds complexity to the quirk and I'm not sure if there is an optimal solution. Give me some time to review it.

Regards.
Thank you for taking the time to work this out it's greatly appreciated and I understand making it work for a broad range of devices is the correct path. Is it possible however to add the individual dim up and dim down entities? This would certainly help.
Thanks again,
Cheers.
Great work from @javicalle and others contributing to this.

I have the exact same issue with this dimmer. Has anyone worked out a solution?

I have not had any success writing a custom quirk but my experience is pretty limited.

This dimmer is commonly available in Australia.

I'm happy to provide logs etc. Not sure if that's necessary as it's the same behaviour described by @yftj.

Thanks!
> Great work from @javicalle and others contributing to this.
> 
> I have the exact same issue with this dimmer. Has anyone worked out a solution?
> 
> I have not had any success writing a custom quirk but my experience is pretty limited.
> 
> This dimmer is commonly available in Australia.
> 
> I'm happy to provide logs etc. Not sure if that's necessary as it's the same behaviour described by @yftj.
> 
> Thanks!

Here is some more information:

<details><summary>Device Signature</summary>

```
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0008",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_1agwnems",
  "model": "TS0601",
  "class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer"
}

```
</details>

<details><summary>Diagnostic Information</summary>

```

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.8.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Australia/Sydney",
    "os_name": "Linux",
    "os_version": "5.15.32-v8",
    "supervisor": "2022.08.3",
    "host_os": "Home Assistant OS 8.4",
    "docker_version": "20.10.14",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.26.2",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "garbage_collection": {
      "version": "4.8.3",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    },
    "browser_mod": {
      "version": "1.5.3",
      "requirements": []
    },
    "dwains_dashboard": {
      "version": "3.2.0",
      "requirements": []
    },
    "nodered": {
      "version": "1.0.9",
      "requirements": []
    },
    "aarlo": {
      "version": "0.7.2b8",
      "requirements": [
        "unidecode",
        "cloudscraper>=1.2.58",
        "paho-mqtt"
      ]
    },
    "ui_lovelace_minimalist": {
      "version": "v1.0.3",
      "requirements": []
    },
    "bureau_of_meteorology": {
      "version": "1.1.13",
      "requirements": [
        "iso8601"
      ]
    },
    "webrtc": {
      "version": "v2.3.1",
      "requirements": []
    },
    "fullykiosk": {
      "version": "1.1.0",
      "requirements": [
        "python-fullykiosk==0.0.11"
      ]
    },
    "spotcast": {
      "version": "v3.6.29",
      "requirements": [
        "spotify_token==1.0.0"
      ]
    },
    "smartthinq_sensors": {
      "version": "0.23.6",
      "requirements": [
        "pycountry>=20.7.3",
        "xmltodict>=0.12.0",
        "chardet>=4.0.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.32.0",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.78",
      "zigpy-deconz==0.18.0",
      "zigpy==0.49.1",
      "zigpy-xbee==0.15.0",
      "zigpy-zigate==0.9.1",
      "zigpy-znp==0.8.1"
    ],
    "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",
      "@puddly"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      }
    ],
    "after_dependencies": [
      "onboarding",
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 30251,
    "manufacturer": "_TZE200_1agwnems",
    "model": "TS0601",
    "name": "_TZE200_1agwnems TS0601",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer",
    "manufacturer_code": 4098,
    "power_source": "Mains",
    "lqi": 83,
    "rssi": null,
    "last_seen": "2022-08-17T13:35:34",
    "available": true,
    "device_type": "Router",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0x0006",
            "0x0008",
            "0xef00"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "light.main_bedroom_light_switch_dd1fd1fe_level_on_off",
        "name": "_TZE200_1agwnems TS0601"
      }
    ],
    "neighbors": [
      {
        "device_type": "Coordinator",
        "rx_on_when_idle": "On",
        "relationship": "Parent",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0000",
        "permit_joining": "Unknown",
        "depth": "0",
        "lqi": "168"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x1E90",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "68"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x5061",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "108"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8737",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "60"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xE6DD",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "70"
      },
      {
        "device_type": "EndDevice",
        "rx_on_when_idle": "Off",
        "relationship": "Child",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x596C",
        "permit_joining": "NotAccepting",
        "depth": "2",
        "lqi": "166"
      }
    ],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": "Main Bedroom Light Switch",
    "device_reg_id": "1ce3bdceaff061cb8faed3b7eb31f385",
    "area_id": "main_bedroom",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0000": {
                "attribute_name": "zcl_version",
                "value": 3
              },
              "0x0001": {
                "attribute_name": "app_version",
                "value": 64
              },
              "0x0002": {
                "attribute_name": "stack_version",
                "value": 0
              },
              "0x0003": {
                "attribute_name": "hw_version",
                "value": 1
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE200_1agwnems"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              },
              "0x0006": {
                "attribute_name": "date_code",
                "value": ""
              },
              "0x0007": {
                "attribute_name": "power_source",
                "value": 1
              },
              "0xfffd": {
                "attribute_name": "cluster_revision",
                "value": 2
              },
              "0xfffe": {
                "attribute_name": "attr_reporting_status",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x4000": {
                "attribute_name": "sw_build_id"
              },
              "0x0012": {
                "attribute_name": "device_enabled"
              },
              "0x0009": {
                "attribute_name": "generic_device_type"
              },
              "0x000a": {
                "attribute_name": "product_code"
              },
              "0x000b": {
                "attribute_name": "product_url"
              },
              "0x000c": {
                "attribute_name": "manufacturer_version_details"
              },
              "0x0008": {
                "attribute_name": "generic_device_class"
              },
              "0x000e": {
                "attribute_name": "product_label"
              },
              "0x0010": {
                "attribute_name": "location_desc"
              },
              "0x0011": {
                "attribute_name": "physical_env"
              },
              "0x0013": {
                "attribute_name": "alarm_mask"
              },
              "0x0014": {
                "attribute_name": "disable_local_config"
              }
            }
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {
              "0x0000": {
                "attribute_name": "name_support",
                "value": 0
              },
              "0xfffd": {
                "attribute_name": "cluster_revision",
                "value": 2
              }
            },
            "unsupported_attributes": {
              "0xfffe": {
                "attribute_name": "attr_reporting_status"
              }
            }
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {
              "0x0000": {
                "attribute_name": "count",
                "value": 0
              },
              "0x0001": {
                "attribute_name": "current_scene",
                "value": 0
              },
              "0x0002": {
                "attribute_name": "current_group",
                "value": 0
              },
              "0x0003": {
                "attribute_name": "scene_valid",
                "value": 0
              },
              "0x0004": {
                "attribute_name": "name_support",
                "value": 0
              },
              "0xfffd": {
                "attribute_name": "cluster_revision",
                "value": 2
              }
            },
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": "tuya_manufacturer",
            "attributes": {
              "0xef00": {
                "attribute_name": "mcu_version",
                "value": "1.0.0"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {
              "0x0000": {
                "attribute_name": "on_off",
                "value": 1
              }
            },
            "unsupported_attributes": {
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0x0008": {
            "endpoint_attribute": "level",
            "attributes": {
              "0x0000": {
                "attribute_name": "current_level",
                "value": 244
              },
              "0xef01": {
                "attribute_name": "minimum_level",
                "value": 0
              },
              "0xef02": {
                "attribute_name": "bulb_type",
                "value": 0
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

```

</details>



<details><summary>Logs</summary>


```
Logger: zigpy.zcl
Source: runner.py:119
First occurred: 1:46:03 PM (69 occurrences)
Last logged: 1:49:08 PM

[0x762B:1:0xef00] No 'handle_get_data' tuya handler found for get_data(data=TuyaCommand(status=0, tsn=186, dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0)))
[0x762B:1:0xef00] No 'handle_get_data' tuya handler found for get_data(data=TuyaCommand(status=0, tsn=187, dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))
[0x762B:1:0xef00] No 'handle_get_data' tuya handler found for get_data(data=TuyaCommand(status=0, tsn=160, dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24)))
[0x762B:1:0xef00] No 'handle_get_data' tuya handler found for get_data(data=TuyaCommand(status=0, tsn=161, dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0)))
[0x762B:1:0xef00] No 'handle_get_data' tuya handler found for get_data(data=TuyaCommand(status=0, tsn=162, dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>)))

```

</details>
This is the manufacturer provided device handler for SmartThings. I wonder if this can be translated over to ZHA.

https://drive.google.com/file/d/1eqLByV3P_9wEDrZV9bQvIWGg2MIT5ySB/view
In the recent #1748 the behavior for some Tuya dimmers will change.
I believe that this issue can be related.

In case someone wants to test the new version before next release, can enable the local quirks and copy the file from here:
* https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/mcu/__init__.py
Hi @javicalle I've tried to load that quirk file with the prior change but didn't notice any change to the behaviour of these dimmers.  

When checking the device it wasn't showing that a different quirk had been loaded though.

They still flicker off and go full brightness before transitioning to the brightness setting requested.
I believe that you will need to copy also the `ts0601_dimmer.py` file and made the `mcu` imports relative to your `custom_quirk_folder`:
* https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_dimmer.py

If you don't mind, you can wait for next week's version of HA or you can also try tomorrow's beta release.
Happy to wait for new version.  Thank you for working on these issues.
Has this change made it to the stable HA release @javicalle ?  I have browsed the changelog but I haven't seen anything.   Thank you
> Has this change made it to the stable HA release @javicalle ? I have browsed the changelog but I haven't seen anything. Thank you

Yep. Works like a charm
> > Has this change made it to the stable HA release @javicalle ? I have browsed the changelog but I haven't seen anything. Thank you
> 
> Yep. Works like a charm

Do you have the same Oz smart dimmers? I still have the same issue with latest home assistant build.
The dimming action from HA has a bug in some quirks (mainly Tuya `ts0601_dimmer` devices).
The latest HA version (2022.10.X) have the new implementation.

Double check that device is not loading any local quirk or that you have local changes in your installation. In your "Diagnostic Information" you must have the `"zha-quirks==0.0.812"` or `0.0.81`.

If everything is correct, please enable the logs, reproduce the behavior and attach the logs.
> Double check that device is not loading any local quirk or that you have local changes in your installation. In your "Diagnostic Information" you must have the `"zha-quirks==0.0.812"` or `0.0.81`.
> 
 Thanks again for your help, I've just looked at my diagnostic info and it shows the version to be 
zha-quirks==0.0.82. 
I've also enabled the enhanced brightness slider and temperature transition from off-state options in the Zha configuration.
Physically adjusting the brightness from the upper and lower buttons on the switch works as expected, stepping through the brightness levels. However, the same behaviour I explained at the beginning of the post is occurring when adjusting through HomeAssistant

<details>
<summary>Logs with reproduced behaviour</summary>
 
```
2022-10-12 16:32:20.900 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-12 16:32:20.900 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 1.25
2022-10-12 16:32:20.900 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>)}
2022-10-12 16:32:20.929 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:21.362 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: received onoff Bool.true while transitioning - skipping update
2022-10-12 16:32:21.837 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x566A](TS0012): Device seen - marking the device available and resetting counter
2022-10-12 16:32:21.838 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x566A](TS0012): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:21.956 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x812F](TS004F): Attempting to checkin with device - missed checkins: 2
2022-10-12 16:32:22.153 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-12 16:32:22.618 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 223
2022-10-12 16:32:22.722 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:22.826 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:23.199 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 0 update with value: 74
2022-10-12 16:32:23.302 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:23.317 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-12 16:32:23.331 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 97, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-10-12 16:32:23.332 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 0.25
2022-10-12 16:32:23.332 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-10-12 16:32:23.459 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:23.583 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-12 16:32:23.725 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 96
2022-10-12 16:32:25.660 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 95
2022-10-12 16:32:25.787 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:25.895 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:25.925 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAF36](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-10-12 16:32:25.925 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAF36](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:26.361 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-12 16:32:26.364 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 56, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-10-12 16:32:26.364 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 0.25
2022-10-12 16:32:26.364 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-10-12 16:32:26.622 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-12 16:32:26.744 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 55
2022-10-12 16:32:27.161 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 0 update with value: 159
2022-10-12 16:32:27.280 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:27.408 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:27.873 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x720D](TS0207): Device seen - marking the device available and resetting counter
2022-10-12 16:32:27.874 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x720D](TS0207): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:27.929 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF3A4](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-10-12 16:32:27.929 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF3A4](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:28.404 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 0 update with value: 223
2022-10-12 16:32:28.531 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:28.644 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:28.684 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 53
2022-10-12 16:32:28.712 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 0 update with value: 137
2022-10-12 16:32:28.814 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:28.858 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:28.974 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:28.997 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:29.271 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-12 16:32:29.272 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 207, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-10-12 16:32:29.272 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 0.25
2022-10-12 16:32:29.272 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-10-12 16:32:29.523 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-12 16:32:29.706 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 206
2022-10-12 16:32:30.779 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1D4C](TS0013): Device seen - marking the device available and resetting counter
2022-10-12 16:32:30.779 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1D4C](TS0013): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:31.649 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 201
2022-10-12 16:32:31.752 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:31.861 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:32.134 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 0 update with value: 74
2022-10-12 16:32:32.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:32.355 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:33.865 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5521](SML002): Device seen - marking the device available and resetting counter
2022-10-12 16:32:33.866 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x5521](SML002): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:36.092 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 0 update with value: 159
2022-10-12 16:32:36.211 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:36.328 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xF905:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:36.861 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAAAC](TS0013): Device seen - marking the device available and resetting counter
2022-10-12 16:32:36.862 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAAAC](TS0013): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:37.410 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 0 update with value: 223
2022-10-12 16:32:37.523 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:37.650 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x82B7:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:37.684 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 0 update with value: 137
2022-10-12 16:32:37.882 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:38.007 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x81AE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:39.834 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB378](TS0012): Device seen - marking the device available and resetting counter
2022-10-12 16:32:39.834 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB378](TS0012): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:39.902 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF8B6](TS0011): Device seen - marking the device available and resetting counter
2022-10-12 16:32:39.902 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF8B6](TS0011): Update device availability - device available: True - new availability: True - changed: False
2022-10-12 16:32:40.623 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 0 update with value: 201
2022-10-12 16:32:40.723 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:40.832 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D5B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-12 16:32:41.079 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 0 update with value: 74
2022-10-12 16:32:41.195 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-12 16:32:41.309 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5FEE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
```
Can you enable also the `zigpy` and the `zhaquirks` debug logs?
There is something extrange with the 'transitioning timer'.
> Can you enable also the `zigpy` and the `zhaquirks` debug logs? There is something extrange with the 'transitioning timer'.

sure thing, thanks for looking into this again!

<details>
<summary>Logs , ctrl f "Youssef" to see the entity im using</summary>

```
2022-10-23 13:57:33.686 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=5, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:33.686 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received command 0x01 (TSN 96): get_data(data=TuyaCommand(status=9, tsn=5, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:33.686 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x45B5:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:33.686 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=96, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.686 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:33.818 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0x0006] Sending Tuya Cluster Command... Cluster Command is 0, Arguments are ()
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=0, expect_reply=True)
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] get_dp_mapping --> found DP: 1
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_cluster_data: 1, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] ztype: Bool.false
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_value: [1, 0]
2022-10-23 13:57:33.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] raw: b'\x00'
2022-10-23 13:57:33.819 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))])
2022-10-23 13:57:33.819 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0006]: executed 'off' command with args: '()' kwargs: '{}' result: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:33.819 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 1.25
2022-10-23 13:57:33.819 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned off: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:33.819 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=46, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-10-23 13:57:33.820 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:33.828 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x45B5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=152, profile_id=260, cluster_id=61184, data=Serialized[b'\ta\x01\t\x06\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=235, rssi=-68)
2022-10-23 13:57:33.829 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received ZCL frame: b'\ta\x01\t\x06\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:33.829 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=97, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.829 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=6, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:33.829 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received command 0x01 (TSN 97): get_data(data=TuyaCommand(status=9, tsn=6, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:33.830 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:33.830 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=97, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.830 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:33.919 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=113, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10.\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=252, rssi=-61)
2022-10-23 13:57:33.920 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\x0c\x02\x10.\x0b\x00\x00'
2022-10-23 13:57:33.920 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=46, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.921 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:33.972 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x45B5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=153, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\t\x07\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:33.972 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received ZCL frame: b'\tb\x01\t\x07\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:33.972 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.972 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=7, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:33.973 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received command 0x01 (TSN 98): get_data(data=TuyaCommand(status=9, tsn=7, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:33.973 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:33.973 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=98, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:33.973 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:34.021 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=114, profile_id=260, cluster_id=61184, data=Serialized[b'\tZ\x01\x00-\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-61)
2022-10-23 13:57:34.021 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tZ\x01\x00-\x01\x01\x00\x01\x00'
2022-10-23 13:57:34.022 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=90, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:34.022 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:34.022 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 90): get_data(data=TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:34.023 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: received onoff Bool.false while transitioning - skipping update
2022-10-23 13:57:34.023 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=90, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:34.023 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:34.099 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x45B5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=154, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\t\x08\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:34.100 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received ZCL frame: b'\tc\x01\t\x08\x0e\x04\x00\x01\x00'
2022-10-23 13:57:34.100 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:34.102 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=8, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:34.103 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received command 0x01 (TSN 99): get_data(data=TuyaCommand(status=9, tsn=8, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:34.104 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:34.107 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=99, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:34.108 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:35.070 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-23 13:57:35.535 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=199, profile_id=260, cluster_id=61184, data=Serialized[b'\tF\x01\x08\xc6\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:35.535 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tF\x01\x08\xc6\x01\x01\x00\x01\x00'
2022-10-23 13:57:35.535 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=70, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.536 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=198, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:35.536 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 70): get_data(data=TuyaCommand(status=8, tsn=198, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:35.536 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=70, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.537 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.673 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=200, profile_id=260, cluster_id=61184, data=Serialized[b'\tG\x01\x08\xc7\x02\x02\x00\x04\x00\x00\x03k'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:35.674 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tG\x01\x08\xc7\x02\x02\x00\x04\x00\x00\x03k'
2022-10-23 13:57:35.674 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=71, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.674 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=199, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'k\x03\x00\x00', *payload=875))]))
2022-10-23 13:57:35.675 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 71): get_data(data=TuyaCommand(status=8, tsn=199, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'k\x03\x00\x00', *payload=875))]))
2022-10-23 13:57:35.675 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE99F:1:0x0008]: received attribute: 0 update with value: 223
2022-10-23 13:57:35.675 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=71, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.675 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.696 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=115, profile_id=260, cluster_id=61184, data=Serialized[b'\t[\x01\x00-\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-61)
2022-10-23 13:57:35.696 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t[\x01\x00-\x01\x01\x00\x01\x00'
2022-10-23 13:57:35.696 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=91, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.696 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:35.696 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 91): get_data(data=TuyaCommand(status=0, tsn=45, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:35.697 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=91, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.698 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.806 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=201, profile_id=260, cluster_id=61184, data=Serialized[b'\tH\x01\x08\xc8\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=195, rssi=-68)
2022-10-23 13:57:35.806 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tH\x01\x08\xc8\x03\x02\x00\x04\x00\x00\x00\x01'
2022-10-23 13:57:35.806 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=72, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.806 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=200, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:35.807 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 72): get_data(data=TuyaCommand(status=8, tsn=200, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:35.807 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE99F:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-23 13:57:35.807 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=72, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.807 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.836 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=116, profile_id=260, cluster_id=61184, data=Serialized[b'\t\\\x01\x00.\x02\x02\x00\x04\x00\x00\x03\xbe'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-62)
2022-10-23 13:57:35.836 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t\\\x01\x00.\x02\x02\x00\x04\x00\x00\x03\xbe'
2022-10-23 13:57:35.836 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=92, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.837 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=46, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xbe\x03\x00\x00', *payload=958))]))
2022-10-23 13:57:35.837 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 92): get_data(data=TuyaCommand(status=0, tsn=46, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xbe\x03\x00\x00', *payload=958))]))
2022-10-23 13:57:35.837 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 0 update with value: 244
2022-10-23 13:57:35.840 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=92, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.840 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.937 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=202, profile_id=260, cluster_id=61184, data=Serialized[b'\tI\x01\x08\xc9\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:35.937 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tI\x01\x08\xc9\x04\x04\x00\x01\x00'
2022-10-23 13:57:35.937 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=73, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.937 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=201, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:35.937 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 73): get_data(data=TuyaCommand(status=8, tsn=201, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:35.938 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE99F:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:35.938 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=73, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.938 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:35.959 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=117, profile_id=260, cluster_id=61184, data=Serialized[b'\t]\x01\x00/\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:35.960 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t]\x01\x00/\x03\x02\x00\x04\x00\x00\x00\x01'
2022-10-23 13:57:35.960 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=93, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.960 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=47, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:35.960 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 93): get_data(data=TuyaCommand(status=0, tsn=47, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:35.961 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-23 13:57:35.961 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=93, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:35.961 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:36.114 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=118, profile_id=260, cluster_id=61184, data=Serialized[b'\t^\x01\x000\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:36.114 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t^\x01\x000\x04\x04\x00\x01\x00'
2022-10-23 13:57:36.114 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=94, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.115 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=48, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.115 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 94): get_data(data=TuyaCommand(status=0, tsn=48, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.115 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:36.116 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=94, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.116 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:36.134 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=203, profile_id=260, cluster_id=61184, data=Serialized[b'\tJ\x01\x08\xca\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=241, rssi=-68)
2022-10-23 13:57:36.134 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tJ\x01\x08\xca\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:36.134 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=74, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.135 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=202, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.135 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 74): get_data(data=TuyaCommand(status=8, tsn=202, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.135 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:36.135 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=74, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.135 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.245 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=119, profile_id=260, cluster_id=61184, data=Serialized[b'\t_\x01\x001\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:36.245 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t_\x01\x001\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:36.245 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=95, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.245 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=49, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.246 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 95): get_data(data=TuyaCommand(status=0, tsn=49, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.246 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:36.246 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=95, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.246 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.346 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=205, profile_id=260, cluster_id=61184, data=Serialized[b'\tK\x01\x08\xcb\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=242, rssi=-68)
2022-10-23 13:57:36.347 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tK\x01\x08\xcb\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:36.347 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=75, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.348 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=203, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:36.348 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 75): get_data(data=TuyaCommand(status=8, tsn=203, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:36.348 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:36.349 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=75, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.349 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.364 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=204, profile_id=260, cluster_id=61184, data=Serialized[b'\tJ\x01\x08\xca\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=225, rssi=-68)
2022-10-23 13:57:36.365 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tJ\x01\x08\xca\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:36.365 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=74, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.365 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=202, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.366 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 74): get_data(data=TuyaCommand(status=8, tsn=202, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:36.366 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:36.367 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=74, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.367 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.374 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=120, profile_id=260, cluster_id=61184, data=Serialized[b'\t`\x01\x002\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:36.374 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\t`\x01\x002\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:36.374 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=96, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.374 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:36.375 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 96): get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:36.375 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:36.375 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=96, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.375 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.485 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE99F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=206, profile_id=260, cluster_id=61184, data=Serialized[b'\tL\x01\x08\xcc\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:36.486 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received ZCL frame: b'\tL\x01\x08\xcc\x0e\x04\x00\x01\x00'
2022-10-23 13:57:36.486 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=76, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.486 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=204, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.487 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Received command 0x01 (TSN 76): get_data(data=TuyaCommand(status=8, tsn=204, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.487 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:36.488 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=76, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.488 DEBUG (MainThread) [zigpy.zcl] [0xE99F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.560 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=121, profile_id=260, cluster_id=61184, data=Serialized[b'\ta\x01\x003\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:36.560 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\ta\x01\x003\x0e\x04\x00\x01\x00'
2022-10-23 13:57:36.560 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=97, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.561 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.561 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 97): get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:36.561 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:36.562 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=97, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:36.562 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:36.808 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xEBEE](lumi.magnet.acn001): Device seen - marking the device available and resetting counter
2022-10-23 13:57:36.808 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xEBEE](lumi.magnet.acn001): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:36.809 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x596D](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-10-23 13:57:36.809 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x596D](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:37.271 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=22, profile_id=260, cluster_id=61184, data=Serialized[b'\tU\x01\x08\xf0\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-69)
2022-10-23 13:57:37.271 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tU\x01\x08\xf0\x01\x01\x00\x01\x00'
2022-10-23 13:57:37.271 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=85, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.272 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=240, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:37.272 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 85): get_data(data=TuyaCommand(status=8, tsn=240, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:37.272 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=85, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.273 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.409 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=23, profile_id=260, cluster_id=61184, data=Serialized[b'\tV\x01\x08\xf1\x02\x02\x00\x04\x00\x00\x02\x1d'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=219, rssi=-69)
2022-10-23 13:57:37.409 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tV\x01\x08\xf1\x02\x02\x00\x04\x00\x00\x02\x1d'
2022-10-23 13:57:37.412 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=86, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.412 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=241, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-10-23 13:57:37.413 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 86): get_data(data=TuyaCommand(status=8, tsn=241, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-10-23 13:57:37.413 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2FBE:1:0x0008]: received attribute: 0 update with value: 137
2022-10-23 13:57:37.414 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=86, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.414 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.472 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are ()
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] get_dp_mapping --> found DP: 1
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_cluster_data: 1, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] ztype: Bool.true
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_value: [1, 1]
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] raw: b'\x01'
2022-10-23 13:57:37.472 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=66, expect_reply=True)
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] get_dp_mapping --> found DP: 2
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_cluster_data: 2, DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f50d952e680>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f50d952e710>, endpoint_id=None)
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] converted: 258
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] ztype: 258
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_value: [4, 0, 0, 1, 2]
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] raw: b'\x00\x00\x01\x02'
2022-10-23 13:57:37.473 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01\x02', *payload=33619968))])
2022-10-23 13:57:37.473 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 66, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.473 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 0.25
2022-10-23 13:57:37.473 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-10-23 13:57:37.474 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=71, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-10-23 13:57:37.474 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:37.475 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=73, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-10-23 13:57:37.475 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01\x02', *payload=33619968))]))
2022-10-23 13:57:37.541 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=24, profile_id=260, cluster_id=61184, data=Serialized[b'\tW\x01\x08\xf2\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-69)
2022-10-23 13:57:37.541 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tW\x01\x08\xf2\x03\x02\x00\x04\x00\x00\x00\x01'
2022-10-23 13:57:37.541 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=87, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.542 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=242, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:37.542 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 87): get_data(data=TuyaCommand(status=8, tsn=242, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:37.542 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2FBE:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-23 13:57:37.542 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=87, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.543 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.677 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=122, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10G\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=254, rssi=-61)
2022-10-23 13:57:37.677 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\x0c\x02\x10G\x0b\x00\x00'
2022-10-23 13:57:37.677 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=71, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.678 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.714 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=123, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10I\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:37.714 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\x0c\x02\x10I\x0b\x00\x00'
2022-10-23 13:57:37.715 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=73, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.715 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.724 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state
2022-10-23 13:57:37.776 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=25, profile_id=260, cluster_id=61184, data=Serialized[b'\tX\x01\x08\xf3\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-69)
2022-10-23 13:57:37.776 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tX\x01\x08\xf3\x04\x04\x00\x01\x00'
2022-10-23 13:57:37.777 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=88, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.777 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=243, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:37.777 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 88): get_data(data=TuyaCommand(status=8, tsn=243, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:37.777 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2FBE:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:37.778 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=88, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.778 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.789 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAAAC](TS0013): Device seen - marking the device available and resetting counter
2022-10-23 13:57:37.789 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAAAC](TS0013): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:37.817 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=124, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\x00E\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:37.817 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tb\x01\x00E\x01\x01\x00\x01\x01'
2022-10-23 13:57:37.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:37.818 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 98): get_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:37.819 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=98, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.820 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:37.922 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=26, profile_id=260, cluster_id=61184, data=Serialized[b'\tX\x01\x08\xf3\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-69)
2022-10-23 13:57:37.923 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tX\x01\x08\xf3\x04\x04\x00\x01\x00'
2022-10-23 13:57:37.923 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=88, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.924 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=243, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:37.962 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=27, profile_id=260, cluster_id=61184, data=Serialized[b'\tY\x01\x08\xf4\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=232, rssi=-69)
2022-10-23 13:57:37.962 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tY\x01\x08\xf4\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:37.962 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=89, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.963 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=244, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:37.963 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 89): get_data(data=TuyaCommand(status=8, tsn=244, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:37.963 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:37.964 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=89, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:37.964 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:38.065 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=125, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\x00E\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:38.065 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tb\x01\x00E\x01\x01\x00\x01\x01'
2022-10-23 13:57:38.065 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.066 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:38.066 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=126, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\x00F\x02\x02\x00\x04\x00\x00\x01\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:38.066 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tc\x01\x00F\x02\x02\x00\x04\x00\x00\x01\x02'
2022-10-23 13:57:38.067 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.067 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x02\x01\x00\x00', *payload=258))]))
2022-10-23 13:57:38.067 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 99): get_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x02\x01\x00\x00', *payload=258))]))
2022-10-23 13:57:38.067 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 0 update with value: 65
2022-10-23 13:57:38.074 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=99, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.074 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:38.168 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=28, profile_id=260, cluster_id=61184, data=Serialized[b'\tY\x01\x08\xf4\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=239, rssi=-69)
2022-10-23 13:57:38.168 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tY\x01\x08\xf4\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:38.168 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=89, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.169 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=244, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:38.234 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=29, profile_id=260, cluster_id=61184, data=Serialized[b'\tZ\x01\x08\xf5\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-70)
2022-10-23 13:57:38.235 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tZ\x01\x08\xf5\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:38.235 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=90, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.236 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=245, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:38.236 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 90): get_data(data=TuyaCommand(status=8, tsn=245, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:38.237 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:38.238 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=127, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\x00F\x02\x02\x00\x04\x00\x00\x01\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:38.238 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tc\x01\x00F\x02\x02\x00\x04\x00\x00\x01\x02'
2022-10-23 13:57:38.239 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.239 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x02\x01\x00\x00', *payload=258))]))
2022-10-23 13:57:38.240 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=90, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.241 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:38.346 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=30, profile_id=260, cluster_id=61184, data=Serialized[b'\tZ\x01\x08\xf5\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-69)
2022-10-23 13:57:38.346 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\tZ\x01\x08\xf5\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:38.346 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=90, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.347 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=245, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:38.360 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FBE), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=31, profile_id=260, cluster_id=61184, data=Serialized[b'\t[\x01\x08\xf6\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=223, rssi=-69)
2022-10-23 13:57:38.360 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received ZCL frame: b'\t[\x01\x08\xf6\x0e\x04\x00\x01\x00'
2022-10-23 13:57:38.360 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=91, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.361 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=8, tsn=246, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:38.361 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Received command 0x01 (TSN 91): get_data(data=TuyaCommand(status=8, tsn=246, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:38.361 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:38.362 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=91, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:38.362 DEBUG (MainThread) [zigpy.zcl] [0x2FBE:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:38.836 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x812F](TS004F): Device seen - marking the device available and resetting counter
2022-10-23 13:57:38.836 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x812F](TS004F): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:39.794 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFB29](TS0013): Device seen - marking the device available and resetting counter
2022-10-23 13:57:39.794 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFB29](TS0013): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:40.464 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=43, profile_id=260, cluster_id=61184, data=Serialized[b'\tC\x01\t\x0e\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.465 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tC\x01\t\x0e\x01\x01\x00\x01\x00'
2022-10-23 13:57:40.465 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=67, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.465 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=14, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:40.465 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 67): get_data(data=TuyaCommand(status=9, tsn=14, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:40.467 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=67, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.467 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.620 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=44, profile_id=260, cluster_id=61184, data=Serialized[b'\tD\x01\t\x0f\x02\x02\x00\x04\x00\x00\x01M'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=252, rssi=-61)
2022-10-23 13:57:40.621 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tD\x01\t\x0f\x02\x02\x00\x04\x00\x00\x01M'
2022-10-23 13:57:40.621 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=68, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.622 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=15, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'M\x01\x00\x00', *payload=333))]))
2022-10-23 13:57:40.622 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 68): get_data(data=TuyaCommand(status=9, tsn=15, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'M\x01\x00\x00', *payload=333))]))
2022-10-23 13:57:40.623 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x981D:1:0x0008]: received attribute: 0 update with value: 84
2022-10-23 13:57:40.624 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=68, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.624 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.699 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=128, profile_id=260, cluster_id=61184, data=Serialized[b'\td\x01\x00F\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.700 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\td\x01\x00F\x01\x01\x00\x01\x01'
2022-10-23 13:57:40.700 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=100, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.700 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:40.700 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 100): get_data(data=TuyaCommand(status=0, tsn=70, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:40.701 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=100, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.701 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.761 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=45, profile_id=260, cluster_id=61184, data=Serialized[b'\tE\x01\t\x10\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.762 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tE\x01\t\x10\x03\x02\x00\x04\x00\x00\x00\x01'
2022-10-23 13:57:40.762 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=69, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.763 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=16, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:40.764 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 69): get_data(data=TuyaCommand(status=9, tsn=16, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:40.764 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x981D:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-23 13:57:40.765 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=69, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.766 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.784 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB1A5](LWA001): Device seen - marking the device available and resetting counter
2022-10-23 13:57:40.784 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB1A5](LWA001): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:40.797 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2B65](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-10-23 13:57:40.797 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2B65](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:40.809 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD0BA](TS0012): Device seen - marking the device available and resetting counter
2022-10-23 13:57:40.809 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD0BA](TS0012): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:40.823 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=129, profile_id=260, cluster_id=61184, data=Serialized[b'\te\x01\x00G\x02\x02\x00\x04\x00\x00\x00\xfa'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.823 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\te\x01\x00G\x02\x02\x00\x04\x00\x00\x00\xfa'
2022-10-23 13:57:40.824 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=101, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.824 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=71, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xfa\x00\x00\x00', *payload=250))]))
2022-10-23 13:57:40.824 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 101): get_data(data=TuyaCommand(status=0, tsn=71, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xfa\x00\x00\x00', *payload=250))]))
2022-10-23 13:57:40.824 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 0 update with value: 63
2022-10-23 13:57:40.830 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=101, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.830 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.876 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=46, profile_id=260, cluster_id=61184, data=Serialized[b'\tF\x01\t\x11\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.877 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tF\x01\t\x11\x04\x04\x00\x01\x00'
2022-10-23 13:57:40.877 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=70, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.877 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=17, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:40.877 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 70): get_data(data=TuyaCommand(status=9, tsn=17, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:40.878 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x981D:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:40.879 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=70, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.879 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:40.952 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=130, profile_id=260, cluster_id=61184, data=Serialized[b'\tf\x01\x00H\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:40.952 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tf\x01\x00H\x03\x02\x00\x04\x00\x00\x00\x01'
2022-10-23 13:57:40.952 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=102, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.952 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=72, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:40.953 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 102): get_data(data=TuyaCommand(status=0, tsn=72, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-10-23 13:57:40.953 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 61185 update with value: 0
2022-10-23 13:57:40.953 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=102, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:40.953 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:41.040 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=47, profile_id=260, cluster_id=61184, data=Serialized[b'\tG\x01\t\x12\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.041 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tG\x01\t\x12\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:41.042 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=71, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.043 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=18, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:41.043 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 71): get_data(data=TuyaCommand(status=9, tsn=18, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:41.043 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:41.044 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=71, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.045 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.062 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=131, profile_id=260, cluster_id=61184, data=Serialized[b'\tg\x01\x00I\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.062 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tg\x01\x00I\x04\x04\x00\x01\x00'
2022-10-23 13:57:41.063 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=103, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.063 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=73, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.063 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 103): get_data(data=TuyaCommand(status=0, tsn=73, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.064 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-10-23 13:57:41.066 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=103, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.066 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:41.223 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=48, profile_id=260, cluster_id=61184, data=Serialized[b'\tH\x01\t\x13\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.223 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tH\x01\t\x13\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:41.224 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=72, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.224 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=19, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:41.224 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 72): get_data(data=TuyaCommand(status=9, tsn=19, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:41.224 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:41.225 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=132, profile_id=260, cluster_id=61184, data=Serialized[b'\th\x01\x00J\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.225 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\th\x01\x00J\x05\x02\x00\x04\x00\x00\x00\x18'
2022-10-23 13:57:41.226 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=104, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.226 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=74, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:41.226 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 104): get_data(data=TuyaCommand(status=0, tsn=74, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-10-23 13:57:41.227 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-10-23 13:57:41.230 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=72, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.230 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.233 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=104, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.234 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.380 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x981D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=49, profile_id=260, cluster_id=61184, data=Serialized[b'\tI\x01\t\x14\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.381 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received ZCL frame: b'\tI\x01\t\x14\x0e\x04\x00\x01\x00'
2022-10-23 13:57:41.381 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=73, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.381 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=20, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.381 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Received command 0x01 (TSN 73): get_data(data=TuyaCommand(status=9, tsn=20, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.382 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:41.382 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=73, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.382 DEBUG (MainThread) [zigpy.zcl] [0x981D:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.411 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=133, profile_id=260, cluster_id=61184, data=Serialized[b'\ti\x01\x00K\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.412 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\ti\x01\x00K\x06\x02\x00\x04\x00\x00\x00\x00'
2022-10-23 13:57:41.412 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=105, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.412 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=75, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:41.412 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 105): get_data(data=TuyaCommand(status=0, tsn=75, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-10-23 13:57:41.413 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-10-23 13:57:41.415 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=105, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.415 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.539 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=134, profile_id=260, cluster_id=61184, data=Serialized[b'\tj\x01\x00L\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:41.540 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\tj\x01\x00L\x0e\x04\x00\x01\x00'
2022-10-23 13:57:41.540 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=106, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.541 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.541 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received command 0x01 (TSN 106): get_data(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-10-23 13:57:41.541 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-10-23 13:57:41.542 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=106, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:41.542 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-10-23 13:57:41.803 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x720D](TS0207): Device seen - marking the device available and resetting counter
2022-10-23 13:57:41.803 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x720D](TS0207): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:41.836 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE99F](TS0601): Device seen - marking the device available and resetting counter
2022-10-23 13:57:41.837 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE99F](TS0601): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:41.837 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA534](lumi.magnet.acn001): Device seen - marking the device available and resetting counter
2022-10-23 13:57:41.838 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA534](lumi.magnet.acn001): Update device availability - device available: True - new availability: True - changed: False
2022-10-23 13:57:41.931 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: setting transitioning flag to True
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are ()
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] get_dp_mapping --> found DP: 1
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_cluster_data: 1, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] ztype: Bool.true
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_value: [1, 1]
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] raw: b'\x01'
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=96, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=166, expect_reply=True)
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] get_dp_mapping --> found DP: 2
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_cluster_data: 2, DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f50d952e680>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f50d952e710>, endpoint_id=None)
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] converted: 650
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] ztype: 650
2022-10-23 13:57:41.932 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] from_value: [4, 0, 0, 2, 138]
2022-10-23 13:57:41.933 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] raw: b'\x00\x00\x02\x8a'
2022-10-23 13:57:41.933 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=97, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02\x8a', *payload=2315386880))])
2022-10-23 13:57:41.933 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x6F8F:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 166, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:41.933 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: starting transitioning timer for 0.25
2022-10-23 13:57:41.933 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-10-23 13:57:41.933 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=98, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-10-23 13:57:41.934 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=96, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-10-23 13:57:41.935 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=100, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-10-23 13:57:41.935 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=97, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02\x8a', *payload=2315386880))]))
2022-10-23 13:57:42.060 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=135, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10b\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:42.061 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\x0c\x02\x10b\x0b\x00\x00'
2022-10-23 13:57:42.061 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=98, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:42.061 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:42.088 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6F8F), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=136, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10d\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-61)
2022-10-23 13:57:42.089 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Received ZCL frame: b'\x0c\x02\x10d\x0b\x00\x00'
2022-10-23 13:57:42.089 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=100, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:42.089 DEBUG (MainThread) [zigpy.zcl] [0x6F8F:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:42.171 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x45B5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=155, profile_id=260, cluster_id=61184, data=Serialized[b'\td\x01\t\x08\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-68)
2022-10-23 13:57:42.171 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received ZCL frame: b'\td\x01\t\x08\x01\x01\x00\x01\x00'
2022-10-23 13:57:42.171 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=100, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:42.172 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=9, tsn=8, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:42.172 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Received command 0x01 (TSN 100): get_data(data=TuyaCommand(status=9, tsn=8, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-10-23 13:57:42.173 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=100, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-10-23 13:57:42.173 DEBUG (MainThread) [zigpy.zcl] [0x45B5:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-10-23 13:57:42.184 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_level_on_off: transition complete - future attribute reports will write HA state

```
</details>


Hi @javicalle just wondering if this was still on your radar and whether there was anything I can do to help?
Well yes, I had it off my radar, but let's see if it's possible to move something forward.

The truth is that it is a difficult problem to analyze remotely.
The logs don't seem to indicate anything strange, but probably the timing is important in this case.

This device also implements a power on/off transition time that generates additional traces (and may be the reason for #1854).

I'll try to check in the weekend.
I have found a bug in the payload part. Not sure if related or why there aren't many other faulty devices but there are something wrong.

Someone in the room that could be able to quirk the `__init__.py` ***and*** the `ts0601_dimmer.py`?
I have tried to quirk this @javicalle but after looking at your commits above I might have used the wrong _init_.py .  I haven't done this before, do I need to preserve the folder structure for the files that I'm quirking?
The fix is already in the latest HA version.
Can someone confirm if the issue persist? If is the case, please attach the logs from the device erratic operation.
Just updated to latest 12.0 version and it's pretty bad. Dimmer works on/off most of the time but dragging the slider to adjust brightness is completely random.
Apologies @javicalle I had tried to quirk this earlier but I'm not sure if I was using the correct init.py.  Also do I need to preserve folder structure in the zhaquirks folder?
I can agree that the latest change appears to have broken the dimmer function to some extent and the result of adjusting the slider now gives a somewhat random result.
Can someone attach the logs of dimming the device?
I will upload some in a few minutes
I can confirm that the dimmer function is broken and outputs random values or just maxes at 100. here are the logs:

<details>
<summary>Logs with reproduced behaviour</summary>
 
```
2022-12-09 18:30:58.019 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 34): get_data(data=TuyaCommand(status=59, tsn=39, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-09 18:30:58.019 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-09 18:30:58.020 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=34, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.021 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-09 18:30:58.115 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: setting transitioning flag to True
2022-12-09 18:30:58.115 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 196, 'transition_time': 0}
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-09 18:30:58.116 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=68, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=196, expect_reply=True)
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44a60>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44af0>, endpoint_id=None)}
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 768
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 768
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 3, 0]
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x03\x00\x00'
2022-12-09 18:30:58.117 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x03\x00\x00', *payload=768))])]
2022-12-09 18:30:58.118 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 196, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.118 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: starting transitioning timer for 0.25
2022-12-09 18:30:58.118 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-09 18:30:58.120 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=70, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:58.120 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=68, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.123 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=72, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:58.124 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x03\x00\x00', *payload=768))]))
2022-12-09 18:30:58.146 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=192, profile_id=260, cluster_id=61184, data=Serialized[b'\t#\x01;(\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.146 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t#\x01;(\x0e\x04\x00\x01\x00'
2022-12-09 18:30:58.147 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=35, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.147 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=59, tsn=40, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-09 18:30:58.148 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 35): get_data(data=TuyaCommand(status=59, tsn=40, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-09 18:30:58.148 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-09 18:30:58.153 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=35, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.153 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-09 18:30:58.217 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=30, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10F\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.217 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10F\x0b\x00\x00'
2022-12-09 18:30:58.217 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=70, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.218 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.260 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=31, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10H\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.260 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10H\x0b\x00\x00'
2022-12-09 18:30:58.261 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=72, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.261 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.427 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=32, profile_id=260, cluster_id=61184, data=Serialized[b'\t \x01\x00D\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.427 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t \x01\x00D\x01\x01\x00\x01\x01'
2022-12-09 18:30:58.427 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=32, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.428 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=68, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.428 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 32): get_data(data=TuyaCommand(status=0, tsn=68, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.429 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: received onoff Bool.true while transitioning - skipping update
2022-12-09 18:30:58.430 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: transition complete - future attribute reports will write HA state
2022-12-09 18:30:58.431 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=32, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.431 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.436 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: setting transitioning flag to True
2022-12-09 18:30:58.436 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 150, 'transition_time': 0}
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-09 18:30:58.437 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=150, expect_reply=True)
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44a60>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44af0>, endpoint_id=None)}
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 588
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 588
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 2, 76]
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'L\x02\x00\x00'
2022-12-09 18:30:58.438 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'L\x02\x00\x00', *payload=588))])]
2022-12-09 18:30:58.439 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 150, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.439 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: starting transitioning timer for 0.25
2022-12-09 18:30:58.439 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-09 18:30:58.440 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=78, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:58.441 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.442 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=80, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:58.442 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'L\x02\x00\x00', *payload=588))]))
2022-12-09 18:30:58.547 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=33, profile_id=260, cluster_id=61184, data=Serialized[b'\t!\x01\x00E\x02\x02\x00\x04\x00\x03\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.548 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t!\x01\x00E\x02\x02\x00\x04\x00\x03\x00\x00'
2022-12-09 18:30:58.548 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=33, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.549 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x03\x00', *payload=196608))]))
2022-12-09 18:30:58.549 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 33): get_data(data=TuyaCommand(status=0, tsn=69, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x03\x00', *payload=196608))]))
2022-12-09 18:30:58.549 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 50135
2022-12-09 18:30:58.549 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: received level 50135 while transitioning - skipping update
2022-12-09 18:30:58.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=33, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.560 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=34, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10N\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.560 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10N\x0b\x00\x00'
2022-12-09 18:30:58.560 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=78, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.561 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.577 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=35, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10P\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.578 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10P\x0b\x00\x00'
2022-12-09 18:30:58.578 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=80, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.578 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.690 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: transition complete - future attribute reports will write HA state
2022-12-09 18:30:58.780 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=36, profile_id=260, cluster_id=61184, data=Serialized[b'\t"\x01\x00L\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.780 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t"\x01\x00L\x01\x01\x00\x01\x01'
2022-12-09 18:30:58.781 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=34, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.781 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.782 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 34): get_data(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:58.783 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=34, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.783 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:58.880 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=37, profile_id=260, cluster_id=61184, data=Serialized[b'\t#\x01\x00M\x02\x02\x00\x04L\x02\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:58.880 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t#\x01\x00M\x02\x02\x00\x04L\x02\x00\x00'
2022-12-09 18:30:58.881 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=35, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.882 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02L', *payload=1275199488))]))
2022-12-09 18:30:58.882 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 35): get_data(data=TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02L', *payload=1275199488))]))
2022-12-09 18:30:58.882 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 325175869
2022-12-09 18:30:58.894 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=35, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:58.894 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:59.140 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=129, profile_id=260, cluster_id=0, data=Serialized[b'\x08I\n\x01\x00 D\xe2\xff \x1f\xe4\xff \x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-09 18:30:59.141 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Received ZCL frame: b'\x08I\n\x01\x00 D\xe2\xff \x1f\xe4\xff \x00'
2022-12-09 18:30:59.141 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=73, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:59.142 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=68)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=31)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=0))])
2022-12-09 18:30:59.142 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Received command 0x0A (TSN 73): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=68)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=31)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=0))])
2022-12-09 18:30:59.143 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Attribute report received: app_version=68, 0xFFE2=31, 0xFFE4=0
2022-12-09 18:30:59.144 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=73, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:59.145 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0x0000] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:59.550 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: setting transitioning flag to True
2022-12-09 18:30:59.550 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 153, 'transition_time': 0}
2022-12-09 18:30:59.550 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-09 18:30:59.551 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=86, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=153, expect_reply=True)
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44a60>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fea4fb44af0>, endpoint_id=None)}
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 600
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 600
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 2, 88]
2022-12-09 18:30:59.552 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'X\x02\x00\x00'
2022-12-09 18:30:59.553 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=87, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'X\x02\x00\x00', *payload=600))])]
2022-12-09 18:30:59.553 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 153, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:59.553 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: starting transitioning timer for 0.25
2022-12-09 18:30:59.553 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-09 18:30:59.562 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=88, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:59.563 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=86, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-09 18:30:59.567 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=90, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-09 18:30:59.567 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=87, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'X\x02\x00\x00', *payload=600))]))
2022-12-09 18:30:59.675 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=38, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10X\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:59.675 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10X\x0b\x00\x00'
2022-12-09 18:30:59.675 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=88, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:59.676 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:59.699 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=39, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10Z\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:59.700 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10Z\x0b\x00\x00'
2022-12-09 18:30:59.700 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=90, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:59.700 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-09 18:30:59.805 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: transition complete - future attribute reports will write HA state
2022-12-09 18:30:59.840 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=40, profile_id=260, cluster_id=61184, data=Serialized[b'\t$\x01\x00V\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-09 18:30:59.840 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t$\x01\x00V\x01\x01\x00\x01\x01'
2022-12-09 18:30:59.840 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=36, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-09 18:30:59.841 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=86, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
```


Here is a short video of how it behaves - 

[![](https://i1.ytimg.com/vi/JrPf-es-Ka4/hqdefault.jpg)](https://youtu.be/JrPf-es-Ka4)


Ok, it's clear to me that there is a bug with the `TuyaDPType.VALUE` values.

I have another version and need someone to test it.
You will need to copy 3 files in your local quirk folder and perform some modifications.

1. copy in your local quirk folder the current `tuya/__init__.py` file:
* https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/__init__.py

2. modify the `TuyaData` class like this:
```python
class TuyaData(t.Struct):
    """Tuya Data type."""
    dp_type: TuyaDPType
    function: t.uint8_t
    raw: t.LVBytes
    @classmethod
    def deserialize(cls, data: bytes) -> Tuple["TuyaData", bytes]:
        """Deserialize data."""
        _LOGGER.debug("data: %s", data)
        res = cls()
        res.dp_type, data = TuyaDPType.deserialize(data)
        res.function, data = t.uint8_t.deserialize(data)
        res.raw, data = t.LVBytes.deserialize(data)
        # if res.dp_type not in (TuyaDPType.BITMAP, TuyaDPType.STRING, TuyaDPType.ENUM):
        #     res.raw = res.raw[::-1]
        return res, data

    @property
    def payload(self) -> Union[t.Bool, t.CharacterString, t.uint32_t, t.data32]:
        """Payload accordingly to data point type."""
        if self.dp_type == TuyaDPType.VALUE:
            return t.uint32_t.deserialize(self.raw[::-1])[0]  # waiting to https://github.com/zigpy/zigpy/pull/1124
        elif self.dp_type == TuyaDPType.BOOL:
            return t.Bool.deserialize(self.raw)[0]
        elif self.dp_type == TuyaDPType.STRING:
            return self.raw.decode("utf8")
        elif self.dp_type == TuyaDPType.ENUM:
            return t.enum8.deserialize(self.raw)[0]
        elif self.dp_type == TuyaDPType.BITMAP:
            bitmaps = {1: t.bitmap8, 2: t.bitmap16, 4: t.bitmap32}
            try:
                return bitmaps[len(self.raw)].deserialize(self.raw)[0]
            except KeyError as exc:
                raise ValueError(f"Wrong bitmap length: {len(self.raw)}") from exc
        raise ValueError(f"Unknown {self.dp_type} datapoint type")
```

3. copy the current `tuya/mcu/__init__.py` file inside an `mcu` folder (would stay as `custom_zha_quirks/mcu/__init__.py`):
* https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/mcu/__init__.py

4. modify all the `zhaquirks.tuya` imports like this:
```python
from custom_zha_quirks import (
    TUYA_MCU_COMMAND,
    TUYA_MCU_VERSION_RSP,
    TUYA_SET_DATA,
    TUYA_SET_TIME,
    Data,
    NoManufacturerCluster,
    PowerOnState,
    TuyaCommand,
    TuyaData,
    TuyaDatapointData,
    TuyaLocalCluster,
    TuyaNewManufCluster,
    TuyaTimePayload,
)
```

5. copy in your local quirk folder the current `tuya/ts0601_dimmer.py` file:
* https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_dimmer.py

6. modify all the `zhaquirks.tuya` imports and `zhaquirks.tuya.mcu` imports like this:
```python
from custom_zha_quirks import NoManufacturerCluster, TuyaDimmerSwitch
from custom_zha_quirks.mcu import (
    TuyaInWallLevelControl,
    TuyaLevelControlManufCluster,
    TuyaOnOff,
    TuyaOnOffNM,
)
```

Save all the changes, delete any `__pycache__` folder, remove the device from HA, restart HA and pair the device again.
Enable de debug logs and attach the dimming logs from the physical device and from HA
@newtsy I really appreciate your offers. Any help will be welcomed but I really need of someone that could progress with the errors and contribute with ideas, tests and information.
> Ok, it's clear to me that there is a bug with the `TuyaDPType.VALUE` values.
> 
> I have another version and need someone to test it. You will need to copy 3 files in your local quirk folder and perform some modifications.
> 
> 1. copy in your local quirk folder the current `tuya/__init__.py` file:

I'm trying to follow this guide to help out but I have a question, first of all here is what my directory looks like: 
![image](https://user-images.githubusercontent.com/101347390/206966613-e59ade0d-8018-463c-80cc-3108ac76bd6b.png)

Where is my custom zha quirk folder located at? and did you want to completely replace my __init__.py file with the new one on git? also just making sure my localtuya addon has nothing to do with this also right?

There's a guide for configure the local quirk in your instalation:
https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274
@javicalle were you able to reproduce the issue with a test?
> @javicalle were you able to reproduce the issue with a test?

No, I can't imagine how can it be reproduced with a test.
I have some logs and a lot of suppositions.
Also I'm afraid to fix one thing and break two news. 😨 
That's exactly why we need to reproduce. `_TZE200_1agwnems` from this issue and `_TZE200_la2c2uo9` from #1996 use the same quirk `zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer`, yet they behave differently. We have a test for `zhaquirks.tuya.ts0601_dimmer.TuyaDoubleSwitchDimmer` which uses same `TuyaLevelControlManufCluster` and `TuyaInWallLevelControl` clusters, so we shouldn't have had this issue.
> ```
> 2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] ztype: 611
> 2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] from_value: [4, 0, 0, 2, 99]
> 2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] raw: b'\x00\x00\x02c'
> 2022-05-10 13:30:23 DEBUG (MainThread) [zigpy.zcl] [0xFE77:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=36, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02c', *payload=1661075456))
> ```

@javicalle The payload calculation is wrong for outgoing TuyaDPType.VALUE, but the raw value is correct, and the raw is what is actually gets serialized and sent to the device.
While I do agree that the code needs some refactoring, but I don't believe the root cause is the byte order.

Could the issue be that ZHA invokes cluster command 0x04 ("move_to_level_with_on_off") instead of 0x00 ("move_to_level")?

@yftj may I ask you to try to change the `move_to_level_with_on_off` to `move_to_level` in the following line:
https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/light.py#L272
Then restart HA and repeat your test?

> @yftj may I ask you to try to change the `move_to_level_with_on_off` to `move_to_level` in the following line: https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/light.py#L272 Then restart HA and repeat your test?

I'm still trying to figure out how to get my custom quirks folder to appear in my config, I added 

```
zha:
  custom_quirks_path: /config/custom_zha_quirks/
```
To my config.yaml file and created that folder but apparently I need to input a quirk file in it and restart to initalise? I copied over my localtuya custom compnent init.py file into the new folder in the hopes of getting initialised but I'm not able to.

![image](https://user-images.githubusercontent.com/101347390/207629688-43298e08-2789-4601-8d53-ab34b4f1985a.png)

Once I figure this out ill do all I can to help out!

ZHA_Custom_Quirks shall being relative to your HA configure path = where HA is having its config file.

From that do one folder with the name `custom_zha_quirks` and putting your local quirk in it and restart HA.

If you is editing the **in** the HA container (that you looks doing) its `/config/` that is mapped to `/usr/share/hassio/homeassistant/` in the OS you is running.
> ZHA_Custom_Quirks shall being relative to your HA configure path = where HA is having its config file.
> 
> From that do one folder with the name `custom_zha_quirks` and putting your local quirk in it and restart HA.
> 
> If you is editing the **in** the HA container (that you looks doing) its `/config/` that is mapped to `/usr/share/hassio/homeassistant/` in the OS you is running.

This is my current directory: 
![image](https://user-images.githubusercontent.com/101347390/207666536-317edd62-ddbc-4e2f-af67-03765326ea22.png)
![image](https://user-images.githubusercontent.com/101347390/207666556-222b963b-e67a-4cfd-8d6d-37eb376eb8f2.png)
![image](https://user-images.githubusercontent.com/101347390/207666755-74674f3e-7f16-44f3-a7e4-ea80808c74c4.png)

I've restarted, how do I know it worked? Do I place files in the custom zha quirk folder and would they be read by zha? Does the folder populate with quirks? Should I just delete the init.py file I placed and add the file mentioned here?

> @yftj may I ask you to try to change the `move_to_level_with_on_off` to `move_to_level` in the following line: https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/light.py#L272 Then restart HA and repeat your test?


If you have configure debug logging you can see it in HA log like this after ZHA have loaded the standard quirks:
```
2022-12-08 09:33:42.556 DEBUG (MainThread) [zhaquirks] Loading custom quirks from /config/custom_zha_quirks
2022-12-08 09:33:42.597 DEBUG (MainThread) [zhaquirks] Loading custom quirks module ts011f_plug
````
You can also see if the system is loading one quirk or is its cant matching it for your device.

Your question of the INI file its up to the dev that have making the local quirk but normally all init things is loaded from the system integrated so you need reading what you shall installing.
> Could the issue be that ZHA invokes cluster command 0x04 ("move_to_level_with_on_off") instead of 0x00 ("move_to_level")?
> 
> @yftj may I ask you to try to change the `move_to_level_with_on_off` to `move_to_level` in the following line: https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/light.py#L272 Then restart HA and repeat your test?

I don't know whether it was the update or the custom quirk that fixed the random values that was previously broken but brightness works correctly apart from original issue in this thread. Here are the updated logs, 

<Details>
<summary>Logs</summary>

```
2022-12-15 18:59:40.246 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zhongxing
2022-12-15 18:59:40.248 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zhongxing.motion
2022-12-15 18:59:40.248 DEBUG (MainThread) [zhaquirks] Loading custom quirks from /config/custom_zha_quirks
2022-12-15 18:59:40.249 DEBUG (MainThread) [homeassistant.components.zha] ZHA storage file does not exist or was already removed

2022-12-15 18:59:41.499 DEBUG (MainThread) [zigpy.appdb] Current database version is v11
2022-12-15 18:59:47.924 DEBUG (MainThread) [zigpy.appdb] Loading application state
<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01\xb7', *payload=3070296064))])]
2022-12-15 19:02:30.687 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 112, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.687 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-15 19:02:30.688 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=145, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:30.688 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=143, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:30.690 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=147, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:30.690 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=144, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01\xb7', *payload=3070296064))]))
2022-12-15 19:02:30.739 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=159, profile_id=260, cluster_id=61184, data=Serialized[b'\tL\x01\x03R\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:30.739 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tL\x01\x03R\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:30.740 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=76, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.740 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=3, tsn=82, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:30.741 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 76): get_data(data=TuyaCommand(status=3, tsn=82, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:30.741 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x446A:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:30.742 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=76, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.742 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.788 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=193, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x91\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:30.789 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x91\x0b\x00\x00'
2022-12-15 19:02:30.790 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=145, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.791 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.847 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=194, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x93\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:30.848 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x93\x0b\x00\x00'
2022-12-15 19:02:30.848 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=147, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.848 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.852 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=160, profile_id=260, cluster_id=61184, data=Serialized[b'\tM\x01\x03S\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:30.852 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tM\x01\x03S\x04\x04\x00\x01\x00'
2022-12-15 19:02:30.853 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=77, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.853 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=3, tsn=83, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:30.854 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 77): get_data(data=TuyaCommand(status=3, tsn=83, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:30.854 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x446A:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:30.856 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=77, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.856 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.952 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=195, profile_id=260, cluster_id=61184, data=Serialized[b'\tW\x01\x00\x8f\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:30.952 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tW\x01\x00\x8f\x01\x01\x00\x01\x01'
2022-12-15 19:02:30.952 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=87, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.953 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=143, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:30.953 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 87): get_data(data=TuyaCommand(status=0, tsn=143, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:30.955 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=87, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.955 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:30.967 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=161, profile_id=260, cluster_id=61184, data=Serialized[b'\tN\x01\x03T\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:30.968 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tN\x01\x03T\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:30.968 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=78, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.969 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=3, tsn=84, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:30.969 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 78): get_data(data=TuyaCommand(status=3, tsn=84, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:30.969 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:30.971 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=78, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:30.972 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:31.053 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=196, profile_id=260, cluster_id=61184, data=Serialized[b'\tX\x01\x00\x90\x02\x02\x00\x04\x00\x00\x01\xb7'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:31.053 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tX\x01\x00\x90\x02\x02\x00\x04\x00\x00\x01\xb7'
2022-12-15 19:02:31.053 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=88, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.054 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=144, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xb7\x01\x00\x00', *payload=439))]))
2022-12-15 19:02:31.054 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 88): get_data(data=TuyaCommand(status=0, tsn=144, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xb7\x01\x00\x00', *payload=439))]))
2022-12-15 19:02:31.055 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 111
2022-12-15 19:02:31.076 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=88, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.076 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:31.088 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=162, profile_id=260, cluster_id=61184, data=Serialized[b'\tO\x01\x03U\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:31.088 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tO\x01\x03U\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:31.088 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=79, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.089 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=3, tsn=85, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:31.089 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 79): get_data(data=TuyaCommand(status=3, tsn=85, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:31.090 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:31.090 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=79, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.091 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:31.199 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=163, profile_id=260, cluster_id=61184, data=Serialized[b'\tP\x01\x03V\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:31.200 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tP\x01\x03V\x0e\x04\x00\x01\x00'
2022-12-15 19:02:31.200 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=80, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.201 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=3, tsn=86, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:31.201 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 80): get_data(data=TuyaCommand(status=3, tsn=86, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:31.202 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:31.202 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=80, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.203 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:31.593 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=111, profile_id=260, cluster_id=61184, data=Serialized[b'\t:\x01\x88\xb0\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:31.594 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t:\x01\x88\xb0\x01\x01\x00\x01\x00'
2022-12-15 19:02:31.596 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=58, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.601 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=176, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:31.602 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 58): get_data(data=TuyaCommand(status=136, tsn=176, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:31.605 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=58, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.606 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:31.714 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=112, profile_id=260, cluster_id=61184, data=Serialized[b'\t;\x01\x88\xb1\x02\x02\x00\x04\x00\x00\x01\xa0'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:31.714 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t;\x01\x88\xb1\x02\x02\x00\x04\x00\x00\x01\xa0'
2022-12-15 19:02:31.715 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=59, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.715 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=177, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-15 19:02:31.716 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 59): get_data(data=TuyaCommand(status=136, tsn=177, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-15 19:02:31.716 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 0 update with value: 106
2022-12-15 19:02:31.718 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=59, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.718 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:31.817 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=113, profile_id=260, cluster_id=61184, data=Serialized[b'\t<\x01\x88\xb2\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:31.817 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t<\x01\x88\xb2\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:31.818 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=60, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.818 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=178, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:31.819 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 60): get_data(data=TuyaCommand(status=136, tsn=178, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:31.819 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:31.820 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=60, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.820 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:31.930 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=114, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x88\xb3\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:31.930 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t=\x01\x88\xb3\x04\x04\x00\x01\x00'
2022-12-15 19:02:31.931 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.931 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=179, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:31.932 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 61): get_data(data=TuyaCommand(status=136, tsn=179, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:31.932 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:31.933 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=61, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.933 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:31.976 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE51A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=95, profile_id=260, cluster_id=1024, data=Serialized[b'\x18+\n\x00\x00!}\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-15 19:02:31.977 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0400] Received ZCL frame: b'\x18+\n\x00\x00!}\x02'
2022-12-15 19:02:31.977 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=43, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.978 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0400] Decoded ZCL frame: IlluminanceMeasurementCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=637))])
2022-12-15 19:02:31.978 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0400] Received command 0x0A (TSN 43): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=637))])
2022-12-15 19:02:31.978 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0400] Attribute report received: measured_value=637
2022-12-15 19:02:31.994 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE51A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=96, profile_id=260, cluster_id=1030, data=Serialized[b'\x18,\n\x00\x00\x18\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:31.995 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0406] Received ZCL frame: b'\x18,\n\x00\x00\x18\x01'
2022-12-15 19:02:31.995 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=44, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:31.996 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-12-15 19:02:31.996 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0406] Received command 0x0A (TSN 44): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-12-15 19:02:31.996 DEBUG (MainThread) [zigpy.zcl] [0xE51A:1:0x0406] Attribute report received: occupancy=<bitmap8.1: 1>
2022-12-15 19:02:31.996 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE51A:1:0x0500]: Updated alarm state: 1
2022-12-15 19:02:31.996 DEBUG (MainThread) [zhaquirks] 00:15:8d:00:06:f2:52:27 - Received motion event message
2022-12-15 19:02:32.030 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=115, profile_id=260, cluster_id=61184, data=Serialized[b'\t>\x01\x88\xb4\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:32.031 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t>\x01\x88\xb4\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:32.031 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=62, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.032 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=180, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:32.032 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 62): get_data(data=TuyaCommand(status=136, tsn=180, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:32.033 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:32.034 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=62, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.034 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:32.130 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=116, profile_id=260, cluster_id=61184, data=Serialized[b'\t?\x01\x88\xb5\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:32.130 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t?\x01\x88\xb5\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:32.131 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=63, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.132 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=181, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:32.132 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 63): get_data(data=TuyaCommand(status=136, tsn=181, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:32.132 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:32.133 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.134 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:32.236 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=117, profile_id=260, cluster_id=61184, data=Serialized[b'\t@\x01\x88\xb6\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-15 19:02:32.237 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t@\x01\x88\xb6\x0e\x04\x00\x01\x00'
2022-12-15 19:02:32.237 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=64, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.238 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=136, tsn=182, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:32.238 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 64): get_data(data=TuyaCommand(status=136, tsn=182, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:32.239 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:32.240 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=64, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.240 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:32.424 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x736E](TS004F): Attempting to checkin with device - missed checkins: 2
2022-12-15 19:02:32.425 DEBUG (MainThread) [zigpy.zcl] [0x736E:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=163, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:32.425 DEBUG (MainThread) [zigpy.zcl] [0x736E:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4])
2022-12-15 19:02:32.425 DEBUG (MainThread) [zigpy.device] [0x736e] Extending timeout for 0xa3 request
2022-12-15 19:02:32.467 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=197, profile_id=260, cluster_id=61184, data=Serialized[b'\tY\x01\x00\x90\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:32.468 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tY\x01\x00\x90\x01\x01\x00\x01\x01'
2022-12-15 19:02:32.468 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=89, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.469 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=144, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:32.469 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 89): get_data(data=TuyaCommand(status=0, tsn=144, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:32.476 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=89, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.476 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.586 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=198, profile_id=260, cluster_id=61184, data=Serialized[b'\tZ\x01\x00\x91\x02\x02\x00\x04\x00\x00\x01\xa0'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:32.587 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tZ\x01\x00\x91\x02\x02\x00\x04\x00\x00\x01\xa0'
2022-12-15 19:02:32.588 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=90, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.592 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=145, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-15 19:02:32.594 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 90): get_data(data=TuyaCommand(status=0, tsn=145, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-15 19:02:32.614 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 106
2022-12-15 19:02:32.652 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=90, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.653 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.755 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=199, profile_id=260, cluster_id=61184, data=Serialized[b'\t[\x01\x00\x92\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:32.756 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t[\x01\x00\x92\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:32.756 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=91, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.757 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=146, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:32.757 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 91): get_data(data=TuyaCommand(status=0, tsn=146, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:32.758 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:32.758 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=91, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.759 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.802 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=222, profile_id=260, cluster_id=61184, data=Serialized[b'\t`\x01\xca\xd7\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:32.802 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t`\x01\xca\xd7\x01\x01\x00\x01\x00'
2022-12-15 19:02:32.803 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=96, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.803 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=215, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:32.804 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 96): get_data(data=TuyaCommand(status=202, tsn=215, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:32.804 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=96, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.805 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.855 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=200, profile_id=260, cluster_id=61184, data=Serialized[b'\t\\\x01\x00\x93\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:32.855 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t\\\x01\x00\x93\x04\x04\x00\x01\x00'
2022-12-15 19:02:32.855 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=92, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.856 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=147, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:32.856 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 92): get_data(data=TuyaCommand(status=0, tsn=147, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:32.857 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:32.857 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=92, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.858 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.912 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=223, profile_id=260, cluster_id=61184, data=Serialized[b'\ta\x01\xca\xd8\x02\x02\x00\x04\x00\x00\x03\x94'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:32.912 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\ta\x01\xca\xd8\x02\x02\x00\x04\x00\x00\x03\x94'
2022-12-15 19:02:32.913 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=97, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.914 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=216, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x94\x03\x00\x00', *payload=916))]))
2022-12-15 19:02:32.914 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 97): get_data(data=TuyaCommand(status=202, tsn=216, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x94\x03\x00\x00', *payload=916))]))
2022-12-15 19:02:32.915 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 0 update with value: 233
2022-12-15 19:02:32.916 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=97, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.917 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:32.973 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=201, profile_id=260, cluster_id=61184, data=Serialized[b'\t]\x01\x00\x94\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:32.973 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t]\x01\x00\x94\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:32.973 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=93, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.974 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=148, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:32.975 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 93): get_data(data=TuyaCommand(status=0, tsn=148, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:32.975 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:32.978 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=93, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:32.978 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.028 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=224, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\xca\xd9\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:33.028 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\tb\x01\xca\xd9\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:33.029 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.029 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=217, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:33.030 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 98): get_data(data=TuyaCommand(status=202, tsn=217, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:33.030 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:33.032 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=98, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.032 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.094 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=202, profile_id=260, cluster_id=61184, data=Serialized[b'\t^\x01\x00\x95\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.094 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t^\x01\x00\x95\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:33.094 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=94, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.095 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=149, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:33.096 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 94): get_data(data=TuyaCommand(status=0, tsn=149, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:33.096 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:33.097 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=94, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.098 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.132 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=225, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\xca\xda\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:33.133 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\tc\x01\xca\xda\x04\x04\x00\x01\x00'
2022-12-15 19:02:33.133 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.134 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=218, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.134 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 99): get_data(data=TuyaCommand(status=202, tsn=218, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.135 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:33.135 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=99, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.136 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.214 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=203, profile_id=260, cluster_id=61184, data=Serialized[b'\t_\x01\x00\x96\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.214 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t_\x01\x00\x96\x0e\x04\x00\x01\x00'
2022-12-15 19:02:33.214 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=95, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.215 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=150, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.215 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 95): get_data(data=TuyaCommand(status=0, tsn=150, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.216 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:33.219 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=95, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.219 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.250 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=226, profile_id=260, cluster_id=61184, data=Serialized[b'\td\x01\xca\xdb\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:33.251 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\td\x01\xca\xdb\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:33.251 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=100, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.252 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=219, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:33.252 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 100): get_data(data=TuyaCommand(status=202, tsn=219, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:33.252 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:33.253 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=100, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.253 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.364 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=227, profile_id=260, cluster_id=61184, data=Serialized[b'\te\x01\xca\xdc\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:33.365 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\te\x01\xca\xdc\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:33.365 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=101, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.366 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=220, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:33.366 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 101): get_data(data=TuyaCommand(status=202, tsn=220, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:33.366 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:33.367 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=101, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.367 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.500 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=228, profile_id=260, cluster_id=61184, data=Serialized[b'\tf\x01\xca\xdd\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2022-12-15 19:02:33.500 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\tf\x01\xca\xdd\x0e\x04\x00\x01\x00'
2022-12-15 19:02:33.501 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=102, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.502 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=202, tsn=221, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.502 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 102): get_data(data=TuyaCommand(status=202, tsn=221, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:33.503 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:33.505 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=102, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.505 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:33.509 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 56, 'transition_time': 0}
2022-12-15 19:02:33.509 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=179, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-15 19:02:33.510 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=56, expect_reply=True)
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fb22d2f3c70>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fb22d2f3d00>, endpoint_id=None)}
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 219
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 219
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 0, 219]
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x00\xdb'
2022-12-15 19:02:33.511 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\xdb', *payload=3674210304))])]
2022-12-15 19:02:33.512 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 56, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.512 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-15 19:02:33.513 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=181, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:33.513 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=179, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:33.519 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=183, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:33.520 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\xdb', *payload=3674210304))]))
2022-12-15 19:02:33.620 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=204, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xb5\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.621 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xb5\x0b\x00\x00'
2022-12-15 19:02:33.621 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=181, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.621 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.654 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=205, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xb7\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.654 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xb7\x0b\x00\x00'
2022-12-15 19:02:33.655 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=183, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.655 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.798 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=206, profile_id=260, cluster_id=61184, data=Serialized[b'\t`\x01\x00\xb3\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.798 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t`\x01\x00\xb3\x01\x01\x00\x01\x01'
2022-12-15 19:02:33.798 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=96, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.799 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=179, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:33.799 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 96): get_data(data=TuyaCommand(status=0, tsn=179, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:33.801 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=96, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.801 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:33.905 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=207, profile_id=260, cluster_id=61184, data=Serialized[b'\ta\x01\x00\xb4\x02\x02\x00\x04\x00\x00\x00\xdb'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:33.905 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\ta\x01\x00\xb4\x02\x02\x00\x04\x00\x00\x00\xdb'
2022-12-15 19:02:33.906 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=97, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.912 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xdb\x00\x00\x00', *payload=219))]))
2022-12-15 19:02:33.912 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 97): get_data(data=TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xdb\x00\x00\x00', *payload=219))]))
2022-12-15 19:02:33.913 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 55
2022-12-15 19:02:33.919 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=97, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:33.920 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:34.179 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=17, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1b\x01\x91r\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.180 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t\x1b\x01\x91r\x01\x01\x00\x01\x00'
2022-12-15 19:02:34.180 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=27, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.181 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=114, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:34.181 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 27): get_data(data=TuyaCommand(status=145, tsn=114, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-15 19:02:34.183 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=27, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.184 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:34.279 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=18, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1c\x01\x91s\x02\x02\x00\x04\x00\x00\x02\x1d'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.279 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t\x1c\x01\x91s\x02\x02\x00\x04\x00\x00\x02\x1d'
2022-12-15 19:02:34.280 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=28, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.280 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=115, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-12-15 19:02:34.281 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 28): get_data(data=TuyaCommand(status=145, tsn=115, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-12-15 19:02:34.281 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 0 update with value: 137
2022-12-15 19:02:34.281 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=28, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.282 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:34.383 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=19, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1d\x01\x91t\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.383 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t\x1d\x01\x91t\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:34.384 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=29, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.385 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=116, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:34.385 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 29): get_data(data=TuyaCommand(status=145, tsn=116, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:34.386 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:34.386 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=29, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.387 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:34.408 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x30FC](TS0601): Device seen - marking the device available and resetting counter
2022-12-15 19:02:34.408 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x30FC](TS0601): Update device availability - device available: True - new availability: True - changed: False
2022-12-15 19:02:34.487 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=20, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1e\x01\x91u\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.487 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t\x1e\x01\x91u\x04\x04\x00\x01\x00'
2022-12-15 19:02:34.487 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=30, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.488 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=117, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:34.489 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 30): get_data(data=TuyaCommand(status=145, tsn=117, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:34.489 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:34.490 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=30, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.491 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:34.602 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=21, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1f\x01\x91v\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.603 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t\x1f\x01\x91v\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:34.603 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=31, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.604 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=118, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:34.604 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 31): get_data(data=TuyaCommand(status=145, tsn=118, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:34.605 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:34.606 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=31, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.606 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:34.725 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=22, profile_id=260, cluster_id=61184, data=Serialized[b'\t \x01\x91w\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.726 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t \x01\x91w\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:34.726 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=32, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.727 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=119, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:34.728 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 32): get_data(data=TuyaCommand(status=145, tsn=119, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:34.728 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:34.729 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=32, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.730 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:34.836 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=23, profile_id=260, cluster_id=61184, data=Serialized[b'\t!\x01\x91x\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2022-12-15 19:02:34.837 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t!\x01\x91x\x0e\x04\x00\x01\x00'
2022-12-15 19:02:34.837 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=33, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.838 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=145, tsn=120, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:34.838 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 33): get_data(data=TuyaCommand(status=145, tsn=120, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:34.839 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:34.839 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=33, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:34.839 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:35.474 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=208, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\x00\xb4\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:35.475 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tb\x01\x00\xb4\x01\x01\x00\x01\x01'
2022-12-15 19:02:35.475 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.476 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:35.476 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 98): get_data(data=TuyaCommand(status=0, tsn=180, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:35.477 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=98, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.478 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:35.582 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=209, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\x00\xb5\x02\x02\x00\x04\x00\x00\x00\xd0'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:35.583 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tc\x01\x00\xb5\x02\x02\x00\x04\x00\x00\x00\xd0'
2022-12-15 19:02:35.583 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.584 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=181, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xd0\x00\x00\x00', *payload=208))]))
2022-12-15 19:02:35.584 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 99): get_data(data=TuyaCommand(status=0, tsn=181, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xd0\x00\x00\x00', *payload=208))]))
2022-12-15 19:02:35.585 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 53
2022-12-15 19:02:35.594 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=99, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.594 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:35.695 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=210, profile_id=260, cluster_id=61184, data=Serialized[b'\td\x01\x00\xb6\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:35.696 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\td\x01\x00\xb6\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-15 19:02:35.696 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=100, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.697 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=182, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:35.697 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 100): get_data(data=TuyaCommand(status=0, tsn=182, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-15 19:02:35.697 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-15 19:02:35.698 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=100, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.698 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:35.802 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=211, profile_id=260, cluster_id=61184, data=Serialized[b'\te\x01\x00\xb7\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:35.802 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\te\x01\x00\xb7\x04\x04\x00\x01\x00'
2022-12-15 19:02:35.803 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=101, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.803 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=183, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:35.803 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 101): get_data(data=TuyaCommand(status=0, tsn=183, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:35.804 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-15 19:02:35.805 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=101, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.805 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:35.908 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=212, profile_id=260, cluster_id=61184, data=Serialized[b'\tf\x01\x00\xb8\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:35.908 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tf\x01\x00\xb8\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-15 19:02:35.909 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=102, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.909 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=184, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:35.910 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 102): get_data(data=TuyaCommand(status=0, tsn=184, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-15 19:02:35.910 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-15 19:02:35.911 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=102, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:35.911 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:36.012 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=213, profile_id=260, cluster_id=61184, data=Serialized[b'\tg\x01\x00\xb9\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:36.013 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tg\x01\x00\xb9\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-15 19:02:36.014 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=103, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:36.017 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=185, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:36.018 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 103): get_data(data=TuyaCommand(status=0, tsn=185, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-15 19:02:36.019 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-15 19:02:36.020 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=103, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:36.021 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:36.135 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=214, profile_id=260, cluster_id=61184, data=Serialized[b'\th\x01\x00\xba\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:36.136 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\th\x01\x00\xba\x0e\x04\x00\x01\x00'
2022-12-15 19:02:36.136 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=104, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:36.137 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=186, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:36.137 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 104): get_data(data=TuyaCommand(status=0, tsn=186, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-15 19:02:36.137 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-15 19:02:36.138 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=104, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:36.138 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-15 19:02:36.342 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-12-15 19:02:36.343 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-12-15 19:02:38.165 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 15, 'transition_time': 0}
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-15 19:02:38.166 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=201, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=15, expect_reply=True)
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fb22d2f3c70>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7fb22d2f3d00>, endpoint_id=None)}
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 58
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 58
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 0, 58]
2022-12-15 19:02:38.167 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x00:'
2022-12-15 19:02:38.168 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=202, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00:', *payload=973078528))])]
2022-12-15 19:02:38.168 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 15, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:38.168 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-15 19:02:38.169 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=203, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:38.170 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=201, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-15 19:02:38.176 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=205, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-15 19:02:38.176 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=202, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00:', *payload=973078528))]))
2022-12-15 19:02:38.261 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=215, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xcb\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:38.261 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xcb\x0b\x00\x00'
2022-12-15 19:02:38.262 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=203, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-15 19:02:38.262 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-15 19:02:38.291 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=216, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xcd\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-15 19:02:38.291 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xcd\x0b\x00\x00'

```
I can still see `move_to_level_with_on_off` in the logs, so it's definitely not this change:)

Do I understand it correctly that the brightness level is correct now, but it still has a weird transition (flashes, then dims)?


> I can still see `move_to_level_with_on_off` in the logs, so it's definitely not this change:)
> 
> Do I understand it correctly that the brightness level is correct now, but it still has a weird transition (flashes, then dims)?
 
Weird I changed the line in the custom zha quriks and it was loaded. 
![image](https://user-images.githubusercontent.com/101347390/207825375-4c549f30-0f2b-4d8a-8d4f-2d7ae5d6991b.png)
and yes you are correct in that understanding.
No, that is the zha file, if you copy it to the custom quirk and change it there, it won't work...
Ok, new plan! In your `custom_zha_quirks/mcu/__init__.py`, find the `TuyaLevelControl` class, then find the following lines:
```python
        # (move_to_level_with_on_off --> send the on_off command first)
        if command_id == 0x0004:
```
and comment out the full block that it starts. You will get this:
```python
class TuyaLevelControl(LevelControl, TuyaLocalCluster):
    """Tuya MCU Level cluster for dimmable device."""

    async def command(
        self,
        command_id: Union[foundation.GeneralCommand, int, t.uint8_t],
        *args,
        manufacturer: Optional[Union[int, t.uint16_t]] = None,
        expect_reply: bool = True,
        tsn: Optional[Union[int, t.uint8_t]] = None,
        **kwargs: Any,
    ):
        """Override the default Cluster command."""
        self.debug(
            "Sending Tuya Cluster Command. Cluster Command is %x, Arguments are %s, %s",
            command_id,
            args,
            kwargs,
        )

        # getting the level value
        if kwargs and "level" in kwargs:
            level = kwargs["level"]
        elif args:
            level = args[0]
        else:
            level = 0

#        # (move_to_level_with_on_off --> send the on_off command first)
#        if command_id == 0x0004:
#            cluster_data = TuyaClusterData(
#                endpoint_id=self.endpoint.endpoint_id,
#                cluster_attr="on_off",
#                attr_value=bool(
#                    level
#                ),  # maybe must be compared against `minimum_level` attribute
#                expect_reply=expect_reply,
#                manufacturer=manufacturer,
#            )
#            self.endpoint.device.command_bus.listener_event(
#                TUYA_MCU_COMMAND,
#                cluster_data,
#            )

        # (move_to_level, move, move_to_level_with_on_off)
        if command_id in (0x0000, 0x0001, 0x0004):
            cluster_data = TuyaClusterData(
                endpoint_id=self.endpoint.endpoint_id,
                cluster_attr="current_level",
                attr_value=level,
                expect_reply=expect_reply,
                manufacturer=manufacturer,
            )
            self.endpoint.device.command_bus.listener_event(
                TUYA_MCU_COMMAND,
                cluster_data,
```
Then restart HA and test again.
> No, that is the zha file, if you copy it to the custom quirk and change it there, it won't work... Ok, new plan! In your `custom_zha_quirks/mcu/__init__.py`, find the `TuyaLevelControl` class, then find the following lines:

Sorry I don't have that file in my custom_zha_quriks folder, I created that folder and placed the path into my config,yaml. where do you get all these files from in the first place?

here's a look at my directory:

![image](https://user-images.githubusercontent.com/101347390/207986814-7b6a61aa-c1cf-414b-b0f1-5547e9c0289a.png)
![image](https://user-images.githubusercontent.com/101347390/207986835-df548f33-315c-4b08-941f-f11a953e20c5.png)
![image](https://user-images.githubusercontent.com/101347390/207986854-d8f6c5b2-8a4e-4f4e-b02e-9dae6fe4b399.png)
The last image with the init.py file I found online and pasted into it because there was no other obvious way for me to get it. Before I am able to do all this I need to get access to the files you are talking about, can you help me?
That would need to copy several files and replace the imports to the new paths.

> That would need to copy several files and replace the imports to the new paths.

I'm more than willing to do that if it means this issue can be fixed
Yes, you can take the files online:
https://github.com/zigpy/zha-device-handlers/tree/master/zhaquirks/tuya
I don't know which is your current `__init__.py` file but what you need to do is:
* copy in your local quirk folder the current version of this files:
  * https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/ts0601_dimmer.py
  * https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/mcu/__init__.py
* edit in the `ts0601_dimmer.py` file the `zhaquirks.tuya.mcu` import statement like this:
```python
from custom_zha_quirks import (
    TuyaInWallLevelControl,
    TuyaLevelControlManufCluster,
    TuyaOnOff,
    TuyaOnOffNM,
)
```

Save changes and restart HA.
Test at this point that device is working the same way until now.
Check that the device signature has changed.

If everything is OK, perform the @Shulyaka proposed changes and tests.
> I don't know which is your current `__init__.py` file but what you need to do is:
> 
> * copy in your local quirk folder the current version of this files:
>   
>   * https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/ts0601_dimmer.py
>   * https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/mcu/__init__.py
> * edit in the `ts0601_dimmer.py` file the `zhaquirks.tuya.mcu` import statement like this:
> 
> ```python
> from custom_zha_quirks import (
>     TuyaInWallLevelControl,
>     TuyaLevelControlManufCluster,
>     TuyaOnOff,
>     TuyaOnOffNM,
> )
> ```
> 
> Save changes and restart HA. Test at this point that device is working the same way until now. Check that the device signature has changed.
> 
> If everything is OK, perform the @Shulyaka proposed changes and tests.

Absolute Legend, thanks for making all that clear for me! Alright I've double checked the devices response to these changes and it has the same response. Now after editing what @Shulyaka asked for and with these files 
![image](https://user-images.githubusercontent.com/101347390/208232596-edadaeb8-6049-4b82-a800-2197afa5e966.png)
![image](https://user-images.githubusercontent.com/101347390/208232650-d8dc40f4-369a-4023-b1cd-b42147778e24.png)
![image](https://user-images.githubusercontent.com/101347390/208233069-b8105d53-ebc9-4f2f-83d5-c9d6caa08c63.png)
^this import settings was causing ZHA to crash tried first without commenting old import and with, both caused ZHA to fail to load on restart so didn't include the custom_zha import for these logs.

here are the logs:

<details>
<summary>Logs with and without Enable enhanced brightness slider during light transition
</summary>

```

[0x30FC:1:0xef00] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/zcl/__init__.py", line 358, in reply return await self._endpoint.reply( File "/usr/local/lib/python3.10/site-packages/zigpy/endpoint.py", line 256, in reply return await self.device.reply( File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 377, in reply return await self.request( File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 296, in request await self._application.request( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 672, in request await self.send_packet( File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 744, in send_packet status, _ = await self._ezsp.sendUnicast( AttributeError: 'NoneType' object has no attribute 'sendUnicast'
7:34:30 PM – (ERROR) runner.py
Discarding _save_device_relays event
7:34:24 PM – (WARNING) runner.py - message first occurred at 7:34:24 PM and shows up 34 times
Discarding _save_attribute event
7:34:24 PM – (WARNING) components/zha/core/channels/base.py - message first occurred at 7:34:24 PM and shows up 2 times

2022-12-17 19:33:07.458 DEBUG (MainThread) [zhaquirks] Loading custom quirks from /config/custom_zha_quirks
2022-12-17 19:33:07.459 DEBUG (MainThread) [zhaquirks] Loading custom quirks module mcu
2022-12-17 19:33:07.467 DEBUG (MainThread) [zhaquirks] Loading custom quirks module ts0601_dimmer
2022-12-17 19:33:07.473 DEBUG (MainThread) [homeassistant.components.zha] ZHA storage file does not exist or was already removed
2022-12-17 19:33:15.085 DEBUG (MainThread) [zigpy.appdb] Current database version is v11
2022-12-17 19:33:15.102 DEBUG (MainThread) [zigpy.appdb] Loading application state

2022-12-17 19:33:46.294 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:33:46.295 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=54, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:46.295 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:33:46.827 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: setting transitioning flag to True
2022-12-17 19:33:46.827 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 51, 'transition_time': 0}
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=True, expect_reply=True)
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.true
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 1]
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x01'
2022-12-17 19:33:46.828 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=51, expect_reply=True)
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f613294c1f0>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f613294c280>, endpoint_id=None)}
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 200
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 200
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 0, 200]
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x00\xc8'
2022-12-17 19:33:46.829 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\xc8', *payload=3355443200))])]
2022-12-17 19:33:46.835 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 51, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:46.836 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: starting transitioning timer for 0.25
2022-12-17 19:33:46.836 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-17 19:33:46.837 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=157, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:33:46.838 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:33:46.843 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=159, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:33:46.843 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\xc8', *payload=3355443200))]))
2022-12-17 19:33:46.959 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=1, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x9d\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2022-12-17 19:33:46.959 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x9d\x0b\x00\x00'
2022-12-17 19:33:46.960 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=157, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:46.960 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:46.982 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=2, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x9f\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2022-12-17 19:33:46.982 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x9f\x0b\x00\x00'
2022-12-17 19:33:46.983 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=159, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:46.983 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:47.087 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: transition complete - future attribute reports will write HA state
2022-12-17 19:33:47.122 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=3, profile_id=260, cluster_id=61184, data=Serialized[b'\t7\x01\x00\x9b\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:33:47.123 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t7\x01\x00\x9b\x01\x01\x00\x01\x01'
2022-12-17 19:33:47.123 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=55, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:47.124 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:33:47.124 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 55): get_data(data=TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:33:47.129 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=55, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:47.129 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:47.252 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=4, profile_id=260, cluster_id=61184, data=Serialized[b'\t8\x01\x00\x9c\x02\x02\x00\x04\x00\x00\x00\xc8'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2022-12-17 19:33:47.253 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t8\x01\x00\x9c\x02\x02\x00\x04\x00\x00\x00\xc8'
2022-12-17 19:33:47.253 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=56, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:47.254 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xc8\x00\x00\x00', *payload=200))]))
2022-12-17 19:33:47.254 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 56): get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xc8\x00\x00\x00', *payload=200))]))
2022-12-17 19:33:47.254 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 51
2022-12-17 19:33:47.255 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=56, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:47.256 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:48.957 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=5, profile_id=260, cluster_id=61184, data=Serialized[b'\t9\x01\x00\x9c\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2022-12-17 19:33:48.957 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t9\x01\x00\x9c\x01\x01\x00\x01\x01'
2022-12-17 19:33:48.958 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=57, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:48.958 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:33:48.959 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 57): get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:33:48.968 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=57, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:48.968 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:49.091 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=6, profile_id=260, cluster_id=61184, data=Serialized[b'\t:\x01\x00\x9d\x02\x02\x00\x04\x00\x00\x00\xa6'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:33:49.091 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t:\x01\x00\x9d\x02\x02\x00\x04\x00\x00\x00\xa6'
2022-12-17 19:33:49.092 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=58, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.092 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=157, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa6\x00\x00\x00', *payload=166))]))
2022-12-17 19:33:49.092 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 58): get_data(data=TuyaCommand(status=0, tsn=157, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa6\x00\x00\x00', *payload=166))]))
2022-12-17 19:33:49.093 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 42
2022-12-17 19:33:49.100 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=58, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.101 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:49.218 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=7, profile_id=260, cluster_id=61184, data=Serialized[b'\t;\x01\x00\x9e\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:33:49.219 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t;\x01\x00\x9e\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:33:49.219 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=59, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.220 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=158, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:33:49.220 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 59): get_data(data=TuyaCommand(status=0, tsn=158, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:33:49.220 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:33:49.221 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=59, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.221 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:49.342 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=8, profile_id=260, cluster_id=61184, data=Serialized[b'\t<\x01\x00\x9f\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:33:49.343 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t<\x01\x00\x9f\x04\x04\x00\x01\x00'
2022-12-17 19:33:49.343 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=60, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.344 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=159, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:33:49.344 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 60): get_data(data=TuyaCommand(status=0, tsn=159, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:33:49.344 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:33:49.345 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=60, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.345 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:33:49.468 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=9, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x00\xa0\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:33:49.469 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t=\x01\x00\xa0\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:33:49.469 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:33:49.470 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=160, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))

*is_cluster=False, *is_general=True, *is_reply=True), tsn=21, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:42.643 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0006] Sending Tuya Cluster Command... Cluster Command is 0, Arguments are ()
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='on_off', attr_value=0, expect_reply=True)
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 1
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=<TuyaDPType.BOOL: 1>, converter=None, dp_converter=None, endpoint_id=None)}
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: Bool.false
2022-12-17 19:34:43.765 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [1, 0]
2022-12-17 19:34:43.766 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00'
2022-12-17 19:34:43.766 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))])]
2022-12-17 19:34:43.766 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0006]: executed 'off' command with args: '()' kwargs: '{}' result: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:34:43.766 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned off: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:34:43.767 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=154, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:34:43.767 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:34:43.871 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=152, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x9a\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:34:43.872 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x9a\x0b\x00\x00'
2022-12-17 19:34:43.872 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=154, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:43.873 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:34:43.982 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=153, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x16\x01\x00\x99\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:34:43.982 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\t\x16\x01\x00\x99\x01\x01\x00\x01\x00'
2022-12-17 19:34:43.983 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=22, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:43.983 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:34:43.984 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 22): get_data(data=TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:34:43.985 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=22, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:43.985 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:34:44.877 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9F7A](TS0013): Device seen - marking the device available and resetting counter
2022-12-17 19:34:44.877 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9F7A](TS0013): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:34:44.934 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xBD6F](TS0207): Device seen - marking the device available and resetting counter
2022-12-17 19:34:44.935 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xBD6F](TS0207): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:34:44.942 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-12-17 19:34:44.942 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:34:45.154 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=250, profile_id=260, cluster_id=61184, data=Serialized[b'\tb\x01\x00P\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:34:45.155 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\tb\x01\x00P\x01\x01\x00\x01\x00'
2022-12-17 19:34:45.155 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=98, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:45.156 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=80, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:34:45.156 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 98): get_data(data=TuyaCommand(status=0, tsn=80, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:34:45.163 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=98, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:45.164 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:34:45.262 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=251, profile_id=260, cluster_id=61184, data=Serialized[b'\tc\x01\x00Q\x02\x02\x00\x04\x00\x00\x01\xa0'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:34:45.263 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\tc\x01\x00Q\x02\x02\x00\x04\x00\x00\x01\xa0'
2022-12-17 19:34:45.263 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=99, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:34:45.263 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=81, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))

```
Never mind I figured out what caused the crash and applied the custom zha settings. And the lights work exactly as expected! the original issue is solved! smooth transition without light flickering on and off! However they fail to turn on when brightness is increased from 0.  here are the new logs:

Thanks everyone for your hard work! @Shulyaka @javicalle, @MattWestb  and everyone else
<details>
<summary>LOGS</summary>

```

2022-12-17 19:45:18.390 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:18.392 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=105, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:18.393 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:18.974 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x625E](lumi.magnet.acn001): Device seen - marking the device available and resetting counter
2022-12-17 19:45:18.974 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x625E](lumi.magnet.acn001): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:19.069 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x446A](TS0601): Device seen - marking the device available and resetting counter
2022-12-17 19:45:19.070 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x446A](TS0601): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 240, 'transition_time': 0}
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=240, expect_reply=True)
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f82710>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f827a0>, endpoint_id=None)}
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 941
2022-12-17 19:45:19.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 941
2022-12-17 19:45:19.083 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 3, 173]
2022-12-17 19:45:19.083 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x03\xad'
2022-12-17 19:45:19.083 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x03\xad', *payload=2902654976))])]
2022-12-17 19:45:19.083 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 240, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.083 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-17 19:45:19.084 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=152, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:45:19.085 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x03\xad', *payload=2902654976))]))
2022-12-17 19:45:19.146 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=115, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x002\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=180, rssi=-55)
2022-12-17 19:45:19.147 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\t=\x01\x002\x01\x01\x00\x01\x00'
2022-12-17 19:45:19.147 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.148 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:19.148 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 61): get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:19.149 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=61, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.150 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.178 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=92, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\x98\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:19.179 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\x98\x0b\x00\x00'
2022-12-17 19:45:19.179 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=152, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.180 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.252 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=116, profile_id=260, cluster_id=61184, data=Serialized[b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x03\x17'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-17 19:45:19.253 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x03\x17'
2022-12-17 19:45:19.254 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=62, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.256 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x17\x03\x00\x00', *payload=791))]))
2022-12-17 19:45:19.257 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 62): get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x17\x03\x00\x00', *payload=791))]))
2022-12-17 19:45:19.257 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x446A:1:0x0008]: received attribute: 0 update with value: 201
2022-12-17 19:45:19.258 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=62, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.259 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.302 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=93, profile_id=260, cluster_id=61184, data=Serialized[b'\tj\x01\x00\x97\x02\x02\x00\x04\x00\x00\x03\xad'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:19.303 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tj\x01\x00\x97\x02\x02\x00\x04\x00\x00\x03\xad'
2022-12-17 19:45:19.303 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=106, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.304 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xad\x03\x00\x00', *payload=941))]))
2022-12-17 19:45:19.305 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 106): get_data(data=TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xad\x03\x00\x00', *payload=941))]))
2022-12-17 19:45:19.322 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 239
2022-12-17 19:45:19.339 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=106, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.340 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.371 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=117, profile_id=260, cluster_id=61184, data=Serialized[b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-17 19:45:19.371 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:19.372 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=63, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.373 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:19.373 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 63): get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:19.373 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x446A:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:19.374 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.375 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.478 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=118, profile_id=260, cluster_id=61184, data=Serialized[b'\t@\x01\x005\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-17 19:45:19.479 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\t@\x01\x005\x04\x04\x00\x01\x00'
2022-12-17 19:45:19.479 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=64, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.480 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:19.480 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 64): get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:19.480 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x446A:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:19.484 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=64, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.484 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:19.589 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=119, profile_id=260, cluster_id=61184, data=Serialized[b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2022-12-17 19:45:19.590 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:19.590 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=65, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.591 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:19.591 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 65): get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:19.592 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:19.592 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=65, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.593 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:19.705 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=120, profile_id=260, cluster_id=61184, data=Serialized[b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=180, rssi=-55)
2022-12-17 19:45:19.706 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:19.707 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=66, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.708 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:19.709 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 66): get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:19.709 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:19.711 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=66, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.711 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:19.815 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=121, profile_id=260, cluster_id=61184, data=Serialized[b'\tC\x01\x008\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=180, rssi=-55)
2022-12-17 19:45:19.816 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tC\x01\x008\x0e\x04\x00\x01\x00'
2022-12-17 19:45:19.816 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=67, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.817 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:19.817 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received command 0x01 (TSN 67): get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:19.817 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:19.821 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=67, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:19.821 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:20.751 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=94, profile_id=260, cluster_id=61184, data=Serialized[b'\tk\x01\x00\x97\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:20.751 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tk\x01\x00\x97\x01\x01\x00\x01\x01'
2022-12-17 19:45:20.751 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=107, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.752 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:20.752 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 107): get_data(data=TuyaCommand(status=0, tsn=151, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:20.753 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=107, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.754 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:20.856 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=95, profile_id=260, cluster_id=61184, data=Serialized[b'\tl\x01\x00\x98\x02\x02\x00\x04\x00\x00\x03\x94'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:20.857 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tl\x01\x00\x98\x02\x02\x00\x04\x00\x00\x03\x94'
2022-12-17 19:45:20.857 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=108, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.858 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=152, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x94\x03\x00\x00', *payload=916))]))
2022-12-17 19:45:20.858 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 108): get_data(data=TuyaCommand(status=0, tsn=152, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x94\x03\x00\x00', *payload=916))]))
2022-12-17 19:45:20.859 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 233
2022-12-17 19:45:20.871 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=108, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.875 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:20.985 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=96, profile_id=260, cluster_id=61184, data=Serialized[b'\tm\x01\x00\x99\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:20.985 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tm\x01\x00\x99\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:20.986 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=109, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.986 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:20.987 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 109): get_data(data=TuyaCommand(status=0, tsn=153, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:20.987 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:20.988 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=109, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:20.989 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.040 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=75, profile_id=260, cluster_id=0, data=Serialized[b'\x08<\n\xdf\xffB\x05\x00\x00\x00\x00\x07'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.040 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Received ZCL frame: b'\x08<\n\xdf\xffB\x05\x00\x00\x00\x00\x07'
2022-12-17 19:45:21.040 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=60, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.041 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0xFFDF, value=TypeValue(type=CharacterString, value=''))])
2022-12-17 19:45:21.041 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Received command 0x0A (TSN 60): Report_Attributes(attribute_reports=[Attribute(attrid=0xFFDF, value=TypeValue(type=CharacterString, value=''))])
2022-12-17 19:45:21.041 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Attribute report received: 0xFFDF=''
2022-12-17 19:45:21.042 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=60, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.042 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0x0000] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.099 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=97, profile_id=260, cluster_id=61184, data=Serialized[b'\tn\x01\x00\x9a\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.099 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tn\x01\x00\x9a\x04\x04\x00\x01\x00'
2022-12-17 19:45:21.100 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=110, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.100 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=154, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.101 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 110): get_data(data=TuyaCommand(status=0, tsn=154, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.101 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:21.103 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=110, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.103 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.140 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=76, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x002\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.141 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t=\x01\x002\x01\x01\x00\x01\x00'
2022-12-17 19:45:21.141 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.142 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:21.142 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 61): get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:21.144 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=61, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.144 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.222 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=98, profile_id=260, cluster_id=61184, data=Serialized[b'\to\x01\x00\x9b\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.223 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\to\x01\x00\x9b\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:21.223 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=111, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.224 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:21.224 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 111): get_data(data=TuyaCommand(status=0, tsn=155, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:21.225 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:21.225 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=111, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.226 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.256 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=77, profile_id=260, cluster_id=61184, data=Serialized[b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x02\x1d'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.257 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x02\x1d'
2022-12-17 19:45:21.258 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=62, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.270 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-12-17 19:45:21.271 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 62): get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x1d\x02\x00\x00', *payload=541))]))
2022-12-17 19:45:21.272 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 0 update with value: 137
2022-12-17 19:45:21.274 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=62, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.275 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.339 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=99, profile_id=260, cluster_id=61184, data=Serialized[b'\tp\x01\x00\x9c\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.340 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tp\x01\x00\x9c\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:21.340 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=112, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.341 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:21.341 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 112): get_data(data=TuyaCommand(status=0, tsn=156, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:21.341 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:21.344 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=112, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.345 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.376 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=78, profile_id=260, cluster_id=61184, data=Serialized[b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.377 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:21.377 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=63, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.378 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:21.378 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 63): get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:21.379 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:21.380 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.380 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.453 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 89, 'transition_time': 0}
2022-12-17 19:45:21.453 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=89, expect_reply=True)
2022-12-17 19:45:21.453 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-17 19:45:21.453 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f82710>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f827a0>, endpoint_id=None)}
2022-12-17 19:45:21.454 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 349
2022-12-17 19:45:21.454 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 349
2022-12-17 19:45:21.454 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 1, 93]
2022-12-17 19:45:21.454 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x01]'
2022-12-17 19:45:21.454 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01]', *payload=1560346624))])]
2022-12-17 19:45:21.454 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 89, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.455 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-17 19:45:21.456 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=173, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:45:21.456 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01]', *payload=1560346624))]))
2022-12-17 19:45:21.482 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=100, profile_id=260, cluster_id=61184, data=Serialized[b'\tq\x01\x00\x9d\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.483 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tq\x01\x00\x9d\x0e\x04\x00\x01\x00'
2022-12-17 19:45:21.483 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=113, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.484 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=157, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.484 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 113): get_data(data=TuyaCommand(status=0, tsn=157, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.484 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:21.486 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=113, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.486 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.491 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=79, profile_id=260, cluster_id=61184, data=Serialized[b'\t@\x01\x005\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.491 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\t@\x01\x005\x04\x04\x00\x01\x00'
2022-12-17 19:45:21.491 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=64, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.492 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.492 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 64): get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.493 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x830B:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:21.493 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=64, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.494 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.542 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=19, profile_id=260, cluster_id=61184, data=Serialized[b'\t<\x01\x002\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:21.543 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t<\x01\x002\x01\x01\x00\x01\x01'
2022-12-17 19:45:21.543 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=60, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.544 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:21.544 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 60): get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:21.545 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=60, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.546 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.587 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=101, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xad\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.587 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xad\x0b\x00\x00'
2022-12-17 19:45:21.587 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=173, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.588 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.618 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=80, profile_id=260, cluster_id=61184, data=Serialized[b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.618 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:21.618 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=65, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.619 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:21.619 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 65): get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:21.620 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:21.621 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=65, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.621 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.696 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=20, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x003\x02\x02\x00\x04\x00\x00\x03\xbe'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:21.697 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t=\x01\x003\x02\x02\x00\x04\x00\x00\x03\xbe'
2022-12-17 19:45:21.697 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.698 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xbe\x03\x00\x00', *payload=958))]))
2022-12-17 19:45:21.698 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 61): get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xbe\x03\x00\x00', *payload=958))]))
2022-12-17 19:45:21.698 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 0 update with value: 244
2022-12-17 19:45:21.699 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=61, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.700 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.718 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=102, profile_id=260, cluster_id=61184, data=Serialized[b'\tr\x01\x00\xac\x02\x02\x00\x04\x00\x00\x01]'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:21.719 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tr\x01\x00\xac\x02\x02\x00\x04\x00\x00\x01]'
2022-12-17 19:45:21.719 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=114, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.720 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b']\x01\x00\x00', *payload=349))]))
2022-12-17 19:45:21.720 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 114): get_data(data=TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b']\x01\x00\x00', *payload=349))]))
2022-12-17 19:45:21.721 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 88
2022-12-17 19:45:21.733 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=114, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.745 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.747 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=81, profile_id=260, cluster_id=61184, data=Serialized[b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.747 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:21.747 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=66, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.748 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:21.748 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 66): get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:21.748 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:21.750 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=66, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.750 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.819 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=21, profile_id=260, cluster_id=61184, data=Serialized[b'\t>\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:21.819 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t>\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:21.821 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=62, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.822 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:21.824 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 62): get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:21.825 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:21.827 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=62, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.827 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.874 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x830B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=82, profile_id=260, cluster_id=61184, data=Serialized[b'\tC\x01\x008\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:21.874 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received ZCL frame: b'\tC\x01\x008\x0e\x04\x00\x01\x00'
2022-12-17 19:45:21.874 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=67, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.875 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.876 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Received command 0x01 (TSN 67): get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.876 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:21.877 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=67, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.878 DEBUG (MainThread) [zigpy.zcl] [0x830B:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:21.954 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=22, profile_id=260, cluster_id=61184, data=Serialized[b'\t?\x01\x005\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:21.954 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t?\x01\x005\x04\x04\x00\x01\x00'
2022-12-17 19:45:21.955 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=63, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.955 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.956 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 63): get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:21.956 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B34:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:21.957 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:21.958 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:21.962 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x127C](TS0207): Device seen - marking the device available and resetting counter
2022-12-17 19:45:21.962 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x127C](TS0207): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:22.050 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=248, profile_id=260, cluster_id=61184, data=Serialized[b'\t=\x01\x002\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.050 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t=\x01\x002\x01\x01\x00\x01\x00'
2022-12-17 19:45:22.050 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=61, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.051 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:22.051 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 61): get_data(data=TuyaCommand(status=0, tsn=50, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))
2022-12-17 19:45:22.053 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=61, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.053 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:22.063 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=23, profile_id=260, cluster_id=61184, data=Serialized[b'\t@\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:22.064 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\t@\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:22.064 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=64, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.065 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:22.065 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 64): get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:22.065 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:22.066 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=64, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.067 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.152 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=249, profile_id=260, cluster_id=61184, data=Serialized[b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x01\xa0'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.152 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t>\x01\x003\x02\x02\x00\x04\x00\x00\x01\xa0'
2022-12-17 19:45:22.153 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=62, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.153 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-17 19:45:22.154 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 62): get_data(data=TuyaCommand(status=0, tsn=51, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\xa0\x01\x00\x00', *payload=416))]))
2022-12-17 19:45:22.154 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 0 update with value: 106
2022-12-17 19:45:22.155 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=62, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.156 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:22.190 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=24, profile_id=260, cluster_id=61184, data=Serialized[b'\tA\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2022-12-17 19:45:22.190 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\tA\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:22.190 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=65, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.191 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:22.191 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 65): get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:22.192 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:22.193 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=65, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.193 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.265 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=250, profile_id=260, cluster_id=61184, data=Serialized[b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.265 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t?\x01\x004\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:22.265 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=63, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.266 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:22.266 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 63): get_data(data=TuyaCommand(status=0, tsn=52, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:22.267 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:22.267 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.268 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:22.297 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5B34), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=25, profile_id=260, cluster_id=61184, data=Serialized[b'\tB\x01\x008\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=164, rssi=-59)
2022-12-17 19:45:22.297 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received ZCL frame: b'\tB\x01\x008\x0e\x04\x00\x01\x00'
2022-12-17 19:45:22.297 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=66, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.298 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.298 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Received command 0x01 (TSN 66): get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.299 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:22.300 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=66, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.300 DEBUG (MainThread) [zigpy.zcl] [0x5B34:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.386 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=251, profile_id=260, cluster_id=61184, data=Serialized[b'\t@\x01\x005\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.386 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\t@\x01\x005\x04\x04\x00\x01\x00'
2022-12-17 19:45:22.387 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=64, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.387 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.388 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 64): get_data(data=TuyaCommand(status=0, tsn=53, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.388 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xA4C3:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:22.393 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=64, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.394 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:22.493 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=252, profile_id=260, cluster_id=61184, data=Serialized[b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.494 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\tA\x01\x006\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:22.494 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=65, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.495 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:22.495 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 65): get_data(data=TuyaCommand(status=0, tsn=54, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:22.496 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:22.499 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=65, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.499 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.595 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=253, profile_id=260, cluster_id=61184, data=Serialized[b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.596 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\tB\x01\x007\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:22.596 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=66, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.596 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:22.597 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 66): get_data(data=TuyaCommand(status=0, tsn=55, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:22.597 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:22.599 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=66, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.599 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.697 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA4C3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=254, profile_id=260, cluster_id=61184, data=Serialized[b'\tC\x01\x008\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2022-12-17 19:45:22.698 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received ZCL frame: b'\tC\x01\x008\x0e\x04\x00\x01\x00'
2022-12-17 19:45:22.698 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=67, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.699 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.699 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Received command 0x01 (TSN 67): get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:22.699 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:22.700 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=67, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:22.701 DEBUG (MainThread) [zigpy.zcl] [0xA4C3:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:22.967 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-12-17 19:45:22.967 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE51A](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:22.977 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2616](lumi.magnet.acn001): Device seen - marking the device available and resetting counter
2022-12-17 19:45:22.977 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2616](lumi.magnet.acn001): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:23.756 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=103, profile_id=260, cluster_id=61184, data=Serialized[b'\ts\x01\x00\xac\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:23.756 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\ts\x01\x00\xac\x01\x01\x00\x01\x01'
2022-12-17 19:45:23.757 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=115, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.757 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:23.757 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 115): get_data(data=TuyaCommand(status=0, tsn=172, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
2022-12-17 19:45:23.759 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=115, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.759 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:23.857 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=104, profile_id=260, cluster_id=61184, data=Serialized[b'\tt\x01\x00\xad\x02\x02\x00\x04\x00\x00\x01M'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2022-12-17 19:45:23.857 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tt\x01\x00\xad\x02\x02\x00\x04\x00\x00\x01M'
2022-12-17 19:45:23.858 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=116, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.858 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=173, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'M\x01\x00\x00', *payload=333))]))
2022-12-17 19:45:23.859 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 116): get_data(data=TuyaCommand(status=0, tsn=173, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'M\x01\x00\x00', *payload=333))]))
2022-12-17 19:45:23.859 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 84
2022-12-17 19:45:23.866 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=116, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.867 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:23.972 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=105, profile_id=260, cluster_id=61184, data=Serialized[b'\tu\x01\x00\xae\x03\x02\x00\x04\x00\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:23.973 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tu\x01\x00\xae\x03\x02\x00\x04\x00\x00\x00\x01'
2022-12-17 19:45:23.973 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=117, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.974 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=174, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:23.975 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 117): get_data(data=TuyaCommand(status=0, tsn=174, datapoints=[TuyaDatapointData(dp=3, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x01\x00\x00\x00', *payload=1))]))
2022-12-17 19:45:23.975 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61185 update with value: 0
2022-12-17 19:45:23.976 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=117, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:23.977 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:24.076 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=106, profile_id=260, cluster_id=61184, data=Serialized[b'\tv\x01\x00\xaf\x04\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:24.077 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tv\x01\x00\xaf\x04\x04\x00\x01\x00'
2022-12-17 19:45:24.077 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=118, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.077 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=175, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:24.078 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 118): get_data(data=TuyaCommand(status=0, tsn=175, datapoints=[TuyaDatapointData(dp=4, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:24.078 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 61186 update with value: enum8.undefined_0x00
2022-12-17 19:45:24.081 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=118, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.082 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:24.182 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=107, profile_id=260, cluster_id=61184, data=Serialized[b'\tw\x01\x00\xb0\x05\x02\x00\x04\x00\x00\x00\x18'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:24.183 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tw\x01\x00\xb0\x05\x02\x00\x04\x00\x00\x00\x18'
2022-12-17 19:45:24.183 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=119, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.183 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=176, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:24.184 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 119): get_data(data=TuyaCommand(status=0, tsn=176, datapoints=[TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))]))
2022-12-17 19:45:24.184 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=5, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x18\x00\x00\x00', *payload=24))
2022-12-17 19:45:24.195 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=119, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.195 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:24.292 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=108, profile_id=260, cluster_id=61184, data=Serialized[b'\tx\x01\x00\xb1\x06\x02\x00\x04\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:24.292 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tx\x01\x00\xb1\x06\x02\x00\x04\x00\x00\x00\x00'
2022-12-17 19:45:24.293 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=120, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.293 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=177, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:24.294 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 120): get_data(data=TuyaCommand(status=0, tsn=177, datapoints=[TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))]))
2022-12-17 19:45:24.294 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=6, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00\x00', *payload=0))
2022-12-17 19:45:24.295 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=120, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.295 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:24.395 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=109, profile_id=260, cluster_id=61184, data=Serialized[b'\ty\x01\x00\xb2\x0e\x04\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:24.395 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\ty\x01\x00\xb2\x0e\x04\x00\x01\x00'
2022-12-17 19:45:24.396 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=121, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.396 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=178, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:24.397 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 121): get_data(data=TuyaCommand(status=0, tsn=178, datapoints=[TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))]))
2022-12-17 19:45:24.397 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] No datapoint handler for TuyaDatapointData(dp=14, data=TuyaData(dp_type=<TuyaDPType.ENUM: 4>, function=0, raw=b'\x00', *payload=<enum8.undefined_0x00: 0>))
2022-12-17 19:45:24.398 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=121, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:24.398 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
2022-12-17 19:45:25.016 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD6BF](TRADFRI Signal Repeater): Attempting to checkin with device - missed checkins: 1
2022-12-17 19:45:25.017 DEBUG (MainThread) [zigpy.zcl] [0xD6BF:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=202, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:45:25.017 DEBUG (MainThread) [zigpy.zcl] [0xD6BF:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4])
2022-12-17 19:45:25.062 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA4C3](TS0601): Device seen - marking the device available and resetting counter
2022-12-17 19:45:25.062 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xA4C3](TS0601): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:25.862 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xDC2C](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-12-17 19:45:25.862 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xDC2C](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:25.920 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 31, 'transition_time': 0}
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=31, expect_reply=True)
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f82710>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f827a0>, endpoint_id=None)}
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 121
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 121
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 0, 121]
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x00y'
2022-12-17 19:45:25.921 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00y', *payload=2030043136))])]
2022-12-17 19:45:25.922 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 31, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:25.922 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-17 19:45:25.923 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=205, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:45:25.923 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x00y', *payload=2030043136))]))
2022-12-17 19:45:25.952 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB6D1](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-12-17 19:45:25.952 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB6D1](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:26.031 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=110, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xcd\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:26.032 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xcd\x0b\x00\x00'
2022-12-17 19:45:26.032 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=205, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:26.033 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:26.203 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=111, profile_id=260, cluster_id=61184, data=Serialized[b'\tz\x01\x00\xcc\x02\x02\x00\x04\x00\x00\x00y'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:26.204 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\tz\x01\x00\xcc\x02\x02\x00\x04\x00\x00\x00y'
2022-12-17 19:45:26.204 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=122, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:26.205 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'y\x00\x00\x00', *payload=121))]))
2022-12-17 19:45:26.205 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received command 0x01 (TSN 122): get_data(data=TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'y\x00\x00\x00', *payload=121))]))
2022-12-17 19:45:26.206 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: received attribute: 0 update with value: 30
2022-12-17 19:45:26.213 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=122, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:26.214 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending reply: Default_Response(command_id=1, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (), {'level': 82, 'transition_time': 0}
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=82, expect_reply=True)
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] get_dp_mapping --> found DP: 2
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_cluster_data: {2: DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f82710>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0x7f5bd5f827a0>, endpoint_id=None)}
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] converted: 321
2022-12-17 19:45:28.034 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] ztype: 321
2022-12-17 19:45:28.035 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] from_value: [4, 0, 0, 1, 65]
2022-12-17 19:45:28.035 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] raw: b'\x00\x00\x01A'
2022-12-17 19:45:28.035 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=208, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01A', *payload=1090584576))])]
2022-12-17 19:45:28.035 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x30FC:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '()' kwargs: '{'level': 82, 'transition_time': 0}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:28.035 DEBUG (MainThread) [homeassistant.components.zha.entity] light.youssefs_room_light_2: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-12-17 19:45:28.036 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=True, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), manufacturer=4098, tsn=209, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-12-17 19:45:28.037 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=208, datapoints=[TuyaDatapointData(dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x01A', *payload=1090584576))]))
2022-12-17 19:45:28.060 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x7D43](lumi.magnet.acn001): Device seen - marking the device available and resetting counter
2022-12-17 19:45:28.061 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x7D43](lumi.magnet.acn001): Update device availability - device available: True - new availability: True - changed: False
2022-12-17 19:45:28.134 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30FC), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=112, profile_id=260, cluster_id=61184, data=Serialized[b'\x0c\x02\x10\xd1\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2022-12-17 19:45:28.134 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Received ZCL frame: b'\x0c\x02\x10\xd1\x0b\x00\x00'
2022-12-17 19:45:28.135 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4098, tsn=209, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:28.135 DEBUG (MainThread) [zigpy.zcl] [0x30FC:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-12-17 19:45:28.153 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x446A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=122, profile_id=260, cluster_id=61184, data=Serialized[b'\tD\x01\x008\x01\x01\x00\x01\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=180, rssi=-55)
2022-12-17 19:45:28.153 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Received ZCL frame: b'\tD\x01\x008\x01\x01\x00\x01\x00'
2022-12-17 19:45:28.154 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=68, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-12-17 19:45:28.155 DEBUG (MainThread) [zigpy.zcl] [0x446A:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:get_data(data=TuyaCommand(status=0, tsn=56, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x00', *payload=<Bool.false: 0>))]))


```



Resolving patch:
diff --git a/zhaquirks/tuya/mcu/__init__.py b/zhaquirks/tuya/mcu/__init__.py
--- a/zhaquirks/tuya/mcu/__init__.py
+++ b/zhaquirks/tuya/mcu/__init__.py
@@ -78,6 +78,7 @@ class TuyaClusterData(t.Struct):
     """Tuya cluster data."""
 
     endpoint_id: int
+    cluster_name: str
     cluster_attr: str
     attr_value: int  # Maybe also others types?
     expect_reply: bool
@@ -125,6 +126,7 @@ async def write_attributes(self, attributes, manufacturer=None):
 
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr=self.attributes[record.attrid][0],
                 attr_value=record.value.value,
                 expect_reply=False,
@@ -278,6 +280,10 @@ def tuya_mcu_command(self, cluster_data: TuyaClusterData):
                 )
             )
 
+        endpoint = self.endpoint.device.endpoints[cluster_data.endpoint_id]
+        cluster = getattr(endpoint, cluster_data.cluster_name)
+        cluster.update_attribute(cluster_data.cluster_attr, cluster_data.attr_value)
+
     def get_dp_mapping(
         self, endpoint_id: int, attribute_name: str
     ) -> Optional[Tuple[int, DPToAttributeMapping]]:
@@ -360,6 +366,7 @@ async def command(
         if command_id in (0x0000, 0x0001):
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr="on_off",
                 attr_value=command_id,
                 expect_reply=expect_reply,
@@ -502,14 +509,15 @@ async def command(
         else:
             level = 0
 
-        # (move_to_level_with_on_off --> send the on_off command first)
-        if command_id == 0x0004:
+        on_off = bool(level)  # maybe must be compared against `minimum_level` attribute
+
+        # (move_to_level_with_on_off --> send the on_off command first, but only if needed)
+        if command_id == 0x0004 and self.endpoint.on_off.get("on_off") != on_off:
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name="on_off",
                 cluster_attr="on_off",
-                attr_value=bool(
-                    level
-                ),  # maybe must be compared against `minimum_level` attribute
+                attr_value=on_off,
                 expect_reply=expect_reply,
                 manufacturer=manufacturer,
             )
@@ -518,10 +526,17 @@ async def command(
                 cluster_data,
             )
 
+        # level 0 --> switched off
+        if command_id == 0x0004 and not on_off:
+            return foundation.GENERAL_COMMANDS[
+                foundation.GeneralCommand.Default_Response
+            ].schema(command_id=command_id, status=foundation.Status.SUCCESS)
+
         # (move_to_level, move, move_to_level_with_on_off)
         if command_id in (0x0000, 0x0001, 0x0004):
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr="current_level",
                 attr_value=level,
                 expect_reply=expect_reply,
diff --git a/zhaquirks/tuya/ts0601_rcbo.py b/zhaquirks/tuya/ts0601_rcbo.py
--- a/zhaquirks/tuya/ts0601_rcbo.py
+++ b/zhaquirks/tuya/ts0601_rcbo.py
@@ -201,6 +201,7 @@ async def command(
 
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr="trip",
                 attr_value=True,
                 expect_reply=expect_reply,
@@ -335,6 +336,7 @@ async def command(
         if command_id == 0x73:
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr="clear_device_data",
                 attr_value=True,
                 expect_reply=expect_reply,
diff --git a/zhaquirks/tuya/ts0601_siren.py b/zhaquirks/tuya/ts0601_siren.py
--- a/zhaquirks/tuya/ts0601_siren.py
+++ b/zhaquirks/tuya/ts0601_siren.py
@@ -292,6 +292,7 @@ async def command(
         if command_id in (0x0000, 0x0001):
             cluster_data = TuyaClusterData(
                 endpoint_id=self.endpoint.endpoint_id,
+                cluster_name=self.ep_attribute,
                 cluster_attr="on_off",
                 attr_value=command_id,
                 expect_reply=expect_reply,


Test patch:
diff --git a/tests/test_tuya_dimmer.py b/tests/test_tuya_dimmer.py
--- a/tests/test_tuya_dimmer.py
+++ b/tests/test_tuya_dimmer.py
@@ -21,6 +21,7 @@ async def test_command(zigpy_device_from_quirk, quirk):
     dimmer_dev = zigpy_device_from_quirk(quirk)
     tuya_cluster = dimmer_dev.endpoints[1].tuya_manufacturer
     dimmer1_cluster = dimmer_dev.endpoints[1].level
+    switch1_cluster = dimmer_dev.endpoints[1].on_off
     switch2_cluster = dimmer_dev.endpoints[2].on_off
     tuya_listener = ClusterListener(tuya_cluster)
 
@@ -30,7 +31,7 @@ async def test_command(zigpy_device_from_quirk, quirk):
     with mock.patch.object(
         tuya_cluster.endpoint, "request", return_value=foundation.Status.SUCCESS
     ) as m1:
-        rsp = await switch2_cluster.command(0x0001)
+        rsp = await switch2_cluster.command(0x0001)  # turn_on
         await wait_for_zigpy_tasks()
 
         m1.assert_called_with(
@@ -42,7 +43,7 @@ async def test_command(zigpy_device_from_quirk, quirk):
         )
         assert rsp.status == foundation.Status.SUCCESS
 
-        rsp = await dimmer1_cluster.command(0x0000, 225)
+        rsp = await dimmer1_cluster.command(0x0000, 225)  # move_to_level
         await wait_for_zigpy_tasks()
 
         m1.assert_called_with(
@@ -54,6 +55,64 @@ async def test_command(zigpy_device_from_quirk, quirk):
         )
         assert rsp.status == foundation.Status.SUCCESS
 
+        rsp = await switch1_cluster.command(0x0001)  # turn_on
+        await wait_for_zigpy_tasks()
+
+        m1.assert_called_with(
+            61184,
+            6,
+            b"\x01\x06\x00\x00\x05\x01\x01\x00\x01\x01",
+            expect_reply=True,
+            command_id=0,
+        )
+        assert rsp.status == foundation.Status.SUCCESS
+
+        rsp = await dimmer1_cluster.command(0x0004, 125)  # move_to_level_with_on_off
+        await wait_for_zigpy_tasks()
+
+        # Should not trigger switch as it is already on
+        m1.assert_called_with(
+            61184,
+            8,
+            b"\x01\x08\x00\x00\x07\x02\x02\x00\x04\x00\x00\x01\xea",
+            expect_reply=True,
+            command_id=0,
+        )
+        assert rsp.status == foundation.Status.SUCCESS
+
+        rsp = await dimmer1_cluster.command(0x0004, 0)  # move_to_level_with_on_off
+        await wait_for_zigpy_tasks()
+
+        # Should switch off without dimming
+        m1.assert_called_with(
+            61184,
+            10,
+            b"\x01\x0a\x00\x00\x09\x01\x01\x00\x01\x00",
+            expect_reply=True,
+            command_id=0,
+        )
+        assert rsp.status == foundation.Status.SUCCESS
+
+        rsp = await dimmer1_cluster.command(0x0004, 25)  # move_to_level_with_on_off
+        await wait_for_zigpy_tasks()
+
+        # Should switch on and then switch to level
+        m1.assert_any_call(
+            61184,
+            13,
+            b"\x01\r\x00\x00\x0b\x01\x01\x00\x01\x01",
+            expect_reply=True,
+            command_id=0,
+        )
+        m1.assert_called_with(
+            61184,
+            14,
+            b"\x01\x0e\x00\x00\x0c\x02\x02\x00\x04\x00\x00\x00\x62",
+            expect_reply=True,
+            command_id=0,
+        )
+        assert rsp.status == foundation.Status.SUCCESS
+
 
 @pytest.mark.parametrize(
     "quirk", (zhaquirks.tuya.ts0601_dimmer.TuyaDoubleSwitchDimmer,)
diff --git a/tests/test_tuya_mcu.py b/tests/test_tuya_mcu.py
--- a/tests/test_tuya_mcu.py
+++ b/tests/test_tuya_mcu.py
@@ -114,19 +114,39 @@ async def test_tuya_methods(zigpy_device_from_quirk, quirk):
     tcd_1 = TuyaClusterData(endpoint_id=2, cluster_attr="minimum_level", attr_value=25)
 
     tcd_switch1_on = TuyaClusterData(
-        endpoint_id=1, cluster_attr="on_off", attr_value=1, expect_reply=True
+        endpoint_id=1,
+        cluster_name="on_off",
+        cluster_attr="on_off",
+        attr_value=1,
+        expect_reply=True,
     )
     tcd_dimmer2_on = TuyaClusterData(
-        endpoint_id=2, cluster_attr="on_off", attr_value=1, expect_reply=True
+        endpoint_id=2,
+        cluster_name="on_off",
+        cluster_attr="on_off",
+        attr_value=1,
+        expect_reply=True,
     )
     tcd_dimmer2_off = TuyaClusterData(
-        endpoint_id=2, cluster_attr="on_off", attr_value=0, expect_reply=True
+        endpoint_id=2,
+        cluster_name="on_off",
+        cluster_attr="on_off",
+        attr_value=0,
+        expect_reply=True,
     )
     tcd_dimmer2_level = TuyaClusterData(
-        endpoint_id=2, cluster_attr="current_level", attr_value=75, expect_reply=True
+        endpoint_id=2,
+        cluster_name="level",
+        cluster_attr="current_level",
+        attr_value=75,
+        expect_reply=True,
     )
     tcd_dimmer2_level0 = TuyaClusterData(
-        endpoint_id=2, cluster_attr="current_level", attr_value=0, expect_reply=True
+        endpoint_id=2,
+        cluster_name="level",
+        cluster_attr="current_level",
+        attr_value=0,
+        expect_reply=True,
     )
 
     result_1 = tuya_cluster.from_cluster_data(tcd_1)
@@ -187,30 +207,29 @@ async def test_tuya_methods(zigpy_device_from_quirk, quirk):
         m1.assert_called_with(tcd_dimmer2_level)  # current_level
         assert m1.call_count == 7
 
-        # test `move_to_level_with_on_off` quirk (call on_off + current_level)
+        # test `move_to_level_with_on_off` quirk (call on_off only)
         rsp = await dimmer2_cluster.command(0x0004)
         assert rsp.status == foundation.Status.SUCCESS
-        m1.assert_any_call(tcd_dimmer2_off)  # on_off
-        m1.assert_called_with(tcd_dimmer2_level0)  # current_level
-        assert m1.call_count == 9
+        m1.assert_called_with(tcd_dimmer2_off)  # on_off
+        assert m1.call_count == 8
 
         # test `move_to_level` quirk (only call current_level)
         rsp = await dimmer2_cluster.command(0x0000)
         assert rsp.status == foundation.Status.SUCCESS
         m1.assert_called_with(tcd_dimmer2_level0)  # current_level
-        assert m1.call_count == 10
+        assert m1.call_count == 9
 
         # test `move_to_level` quirk (only call current_level)
         rsp = await dimmer2_cluster.command(0x0000, 75)
         assert rsp.status == foundation.Status.SUCCESS
         m1.assert_called_with(tcd_dimmer2_level)  # current_level
-        assert m1.call_count == 11
+        assert m1.call_count == 10
 
         # test `move_to_level` quirk (only call current_level)
         rsp = await dimmer2_cluster.command(0x0000, level=75)
         assert rsp.status == foundation.Status.SUCCESS
         m1.assert_called_with(tcd_dimmer2_level)  # current_level
-        assert m1.call_count == 12
+        assert m1.call_count == 11
 
 
 async def test_tuya_mcu_classes():