question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] TS0601 changing brightness turns off device

See original GitHub issue

Describe the bug

  1. When changing the brightness of this device it shows as “on” within HA but the device itself doesn’t turn on.
  2. When changing the brightness of this device when it is already on it will turn off the device while HA still reports it as “on”.

To Reproduce Steps to reproduce the behavior:

  1. Turn on light
  2. Try change brightbess
  3. Light turns off (not in HA but the switch turns off)

Expected behavior A clear and concise description of what you expected to happen. This used to work, I honestly don’t know what version. I’m 100% sure this is broken in all 2022.8.x versions.

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=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_dfxkcots",
  "model": "TS0601",
  "class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer"
}
Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.8.4",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Amsterdam",
    "os_name": "Linux",
    "os_version": "5.4.0-1068-raspi",
    "run_as_root": true
  },
  "custom_components": {
    "afvalbeheer": {
      "version": "4.9.6",
      "requirements": [
        "rsa",
        "pycryptodome"
      ]
    },
    "luchtmeetnet": {
      "version": "0.0.3",
      "requirements": [
        "luchtmeetnet==0.0.2"
      ]
    },
    "dwd_pollenflug": {
      "version": "1.0.1",
      "requirements": []
    },
    "adaptive_lighting": {
      "version": "1.0.14",
      "requirements": []
    },
    "hacs": {
      "version": "1.26.2",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "worlds_air_quality_index": {
      "version": "0.3.3",
      "requirements": []
    },
    "powercalc": {
      "version": "v0.25.0-beta.8",
      "requirements": [
        "numpy>=1.21.1"
      ]
    },
    "zha_toolkit": {
      "version": "v0.8.12",
      "requirements": []
    },
    "toon_climate": {
      "version": "1.0.12",
      "requirements": []
    }
  },
  "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": 22991,
    "manufacturer": "_TZE200_dfxkcots",
    "model": "TS0601",
    "name": "_TZE200_dfxkcots TS0601",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts0601_dimmer.TuyaSingleSwitchDimmer",
    "manufacturer_code": 4098,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -55,
    "last_seen": "2022-08-16T00:01:11",
    "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.light_livingroom_table_level_on_off",
        "name": "_TZE200_dfxkcots 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": "194"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x106A",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "147"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x11DD",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "78"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x13F4",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "87"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x3B8E",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "73"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x5133",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "36"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x553C",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "110"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x5EED",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "55"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x686D",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "126"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x6BC1",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "62"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x6E6F",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "57"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x7949",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "69"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8347",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "136"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8E84",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "63"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x9FDB",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "74"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xAD50",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "64"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xB96B",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "28"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xBDDE",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "102"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xC2B7",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "98"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xC52E",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "44"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xCC93",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "49"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD3D4",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "50"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD910",
        "permit_joining": "Unknown",
        "depth": "15",
        "lqi": "82"
      }
    ],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": "Light - Livingroom Table",
    "device_reg_id": "e2372bba3fb7b1b656c1f1944c40bd4d",
    "area_id": "livingroom",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE200_dfxkcots"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": "tuya_manufacturer",
            "attributes": {
              "0xef00": {
                "attribute_name": "mcu_version",
                "value": "1.0.1"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {
              "0x0000": {
                "attribute_name": "on_off",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x4003": {
                "attribute_name": "start_up_on_off"
              }
            }
          },
          "0x0008": {
            "endpoint_attribute": "level",
            "attributes": {
              "0x0000": {
                "attribute_name": "current_level",
                "value": 124
              },
              "0xef01": {
                "attribute_name": "minimum_level",
                "value": 2
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}
Additional logs
Paste any additional debug logs here.
Don't remove the extra line breaks outside the ``` marks.

Additional context

Related issues:

Possible causes:

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:30 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
lotrcommented, Sep 13, 2022

@javicalle Here’s the log. The physical device was off, the device in the GUI was off. I’ve moved the GUI knob from the most left position (min position) to some value. The physical device did not turn on, but the GUI was showing the device as it was turned on.

2022-09-13 16:58:01.414 DEBUG (MainThread) [homeassistant.components.zha.entity] light.livingroom_switch_light: setting transitioning flag to True
2022-09-13 16:58:01.415 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0008] Setting the NO manufacturer id in command: 4
2022-09-13 16:58:01.415 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0008] Sending Tuya Cluster Command. Cluster Command is 4, Arguments are (150, 0)
2022-09-13 16:58:01.416 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_attr='current_level', attr_value=150, expect_reply=True, manufacturer=-1)
2022-09-13 16:58:01.417 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] get_dp_mapping --> found DP: 2
2022-09-13 16:58:01.417 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] from_cluster_data: 2, DPToAttributeMapping(ep_attribute='level', attribute_name='current_level', dp_type=<TuyaDPType.VALUE: 2>, converter=<function TuyaLevelControlManufCluster.<lambda> at 0xffff48732440>, dp_converter=<function TuyaLevelControlManufCluster.<lambda> at 0xffff487324d0>, endpoint_id=None)
2022-09-13 16:58:01.418 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] converted: 588
2022-09-13 16:58:01.418 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] ztype: 588
2022-09-13 16:58:01.418 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] from_value: [4, 0, 0, 2, 76]
2022-09-13 16:58:01.419 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] raw: b'\x00\x00\x02L'
2022-09-13 16:58:01.419 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=107, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02L', *payload=1275199488))
2022-09-13 16:58:01.424 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=False), tsn=108, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-09-13 16:58:01.425 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=107, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x00\x00\x02L', *payload=1275199488)))
2022-09-13 16:58:01.426 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB00B:1:0x0008]: executed 'move_to_level_with_on_off' command with args: '(150, 0)' kwargs: '{}' result: Default_Response(command_id=4, status=<Status.SUCCESS: 0>)
2022-09-13 16:58:01.426 DEBUG (MainThread) [homeassistant.components.zha.entity] light.livingroom_switch_light: starting transitioning timer for 0.25
2022-09-13 16:58:01.427 DEBUG (MainThread) [homeassistant.components.zha.entity] light.livingroom_switch_light: turned on: {'move_to_level_with_on_off': Default_Response(command_id=4, status=<Status.SUCCESS: 0>)}
2022-09-13 16:58:01.428 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 108 under 109 request id, data: b'016c00006b020200040000024c'
2022-09-13 16:58:01.428 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (28, 109, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB00B endpoint=1>, 260, 61184, 1, b'\x01l\x00\x00k\x02\x02\x00\x04\x00\x00\x02L', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-13 16:58:01.429 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x12c80023001c006d00020bb001040100ef010d00016c00006b020200040000024c0200
2022-09-13 16:58:01.439 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12c80009000200226d
2022-09-13 16:58:01.439 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 109]
2022-09-13 16:58:01.448 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ec9000700a600
2022-09-13 16:58:01.449 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-09-13 16:58:01.449 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-09-13 16:58:01.449 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x04c90007000000
2022-09-13 16:58:01.453 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04c90013000c00226d020bb001010000000000
2022-09-13 16:58:01.453 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 109: 00
2022-09-13 16:58:01.454 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x6d 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb00b endpoint=1>, status: 0x00
2022-09-13 16:58:01.457 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0eca000700aa00
2022-09-13 16:58:01.458 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-09-13 16:58:01.459 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-09-13 16:58:01.459 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x17ca000800010001
2022-09-13 16:58:01.462 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17ca0023001c002202000001020bb001040100ef0500186c0b000000afffbc711d00d5
2022-09-13 16:58:01.463 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [28, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, 1, 260, 61184, b'\x18l\x0b\x00\x00', 0, 175, 255, 188, 113, 29, 0, -43]
2022-09-13 16:58:01.464 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Received ZCL frame: b'\x18l\x0b\x00\x00'
2022-09-13 16:58:01.465 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] 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=108, command_id=11, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-09-13 16:58:01.466 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
2022-09-13 16:58:01.467 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, ep: 1, profile: 0x0104, cluster_id: 0xef00, data: b'186c0b0000'
2022-09-13 16:58:01.475 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ecb000700aa00
2022-09-13 16:58:01.476 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-09-13 16:58:01.477 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-09-13 16:58:01.477 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x17cb000800010001
2022-09-13 16:58:01.479 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17cb002b0024002202000001020bb001040100ef0d00094302006b020200040000024c00afffbc711d00d5
2022-09-13 16:58:01.479 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [36, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, 1, 260, 61184, b'\tC\x02\x00k\x02\x02\x00\x04\x00\x00\x02L', 0, 175, 255, 188, 113, 29, 0, -43]
2022-09-13 16:58:01.480 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Received ZCL frame: b'\tC\x02\x00k\x02\x02\x00\x04\x00\x00\x02L'
2022-09-13 16:58:01.481 DEBUG (MainThread) [zigpy.zcl] [0xB00B: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=2, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-09-13 16:58:01.482 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=107, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'L\x02\x00\x00', *payload=588)))
2022-09-13 16:58:01.483 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Received command 0x02 (TSN 67): set_data_response(data=TuyaCommand(status=0, tsn=107, dp=2, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'L\x02\x00\x00', *payload=588)))
2022-09-13 16:58:01.484 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB00B:1:0x0008]: received attribute: 0 update with value: 149
2022-09-13 16:58:01.484 DEBUG (MainThread) [homeassistant.components.zha.entity] light.livingroom_switch_light: received level 149 while transitioning - skipping update
2022-09-13 16:58:01.485 DEBUG (MainThread) [zigpy.zcl] [0xB00B: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-09-13 16:58:01.487 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.SUCCESS: 0>)
2022-09-13 16:58:01.488 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 67 under 110 request id, data: b'18430b0200'
2022-09-13 16:58:01.489 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, ep: 1, profile: 0x0104, cluster_id: 0xef00, data: b'094302006b020200040000024c'
2022-09-13 16:58:01.489 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 110, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB00B endpoint=1>, 260, 61184, 1, b'\x18C\x0b\x02\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-13 16:58:01.490 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x12cc001b0014006e00020bb001040100ef01050018430b02000200
2022-09-13 16:58:01.493 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12cc0009000200226e
2022-09-13 16:58:01.493 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 110]
2022-09-13 16:58:01.502 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ecd000700a600
2022-09-13 16:58:01.502 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-09-13 16:58:01.503 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-09-13 16:58:01.503 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x04cd0007000000
2022-09-13 16:58:01.507 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04cd0013000c00226e020bb001010000000000
2022-09-13 16:58:01.507 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 110: 00
2022-09-13 16:58:01.508 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x6e 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb00b endpoint=1>, status: 0x00
2022-09-13 16:58:01.678 DEBUG (MainThread) [homeassistant.components.zha.entity] light.livingroom_switch_light: transition complete - future attribute reports will write HA state
2022-09-13 16:58:07.839 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ece000700aa00
2022-09-13 16:58:07.840 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-09-13 16:58:07.841 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-09-13 16:58:07.841 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x17ce000800010001
2022-09-13 16:58:07.845 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17ce0023001c002202000001027ecf0104010a000500007200070000afffbc711d00c6
2022-09-13 16:58:07.846 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [28, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xcf7e>, 1, 260, 10, b'\x00r\x00\x07\x00', 0, 175, 255, 188, 113, 29, 0, -58]
2022-09-13 16:58:07.847 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] Received ZCL frame: b'\x00r\x00\x07\x00'
2022-09-13 16:58:07.848 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=114, command_id=0, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-09-13 16:58:07.850 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] Decoded ZCL frame: Time:Read_Attributes(attribute_ids=[7])
2022-09-13 16:58:07.850 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] Received command 0x00 (TSN 114): Read_Attributes(attribute_ids=[7])
2022-09-13 16:58:07.852 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] 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.Read_Attributes_rsp: 1>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-09-13 16:58:07.853 DEBUG (MainThread) [zigpy.zcl] [0xCF7E:1:0x000a] Sending reply: Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=LocalTime, value=716403487))])
2022-09-13 16:58:07.854 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 114 under 111 request id, data: b'187201070000231f73b32a'
2022-09-13 16:58:07.855 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xcf7e>, ep: 1, profile: 0x0104, cluster_id: 0x000a, data: b'0072000700'
2022-09-13 16:58:07.855 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (26, 111, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xCF7E endpoint=1>, 260, 10, 1, b'\x18r\x01\x07\x00\x00#\x1fs\xb3*', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-13 16:58:07.856 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x12cf0021001a006f00027ecf0104010a00010b00187201070000231f73b32a0200
2022-09-13 16:58:07.860 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12cf0009000200226f
2022-09-13 16:58:07.860 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 111]
2022-09-13 16:58:07.868 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed0000700a600
2022-09-13 16:58:07.869 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-09-13 16:58:07.870 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-09-13 16:58:07.870 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x04d00007000000
2022-09-13 16:58:07.872 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04d00013000c00226f027ecf01010000000000
2022-09-13 16:58:07.872 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 111: 00
2022-09-13 16:58:07.873 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x6f 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xcf7e endpoint=1>, status: 0x00
2022-09-13 16:58:08.092 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed1000700aa00
2022-09-13 16:58:08.093 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-09-13 16:58:08.094 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-09-13 16:58:08.094 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x17d1000800010001
2022-09-13 16:58:08.097 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17d1002d0026002202000001020bb001040100000f0008440a01002040e2ff2020e4ff200000afffbc711d00d5
2022-09-13 16:58:08.097 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [38, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, 1, 260, 0, b'\x08D\n\x01\x00 @\xe2\xff \xe4\xff \x00', 0, 175, 255, 188, 113, 29, 0, -43]
2022-09-13 16:58:08.099 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0000] Received ZCL frame: b'\x08D\n\x01\x00 @\xe2\xff \xe4\xff \x00'
2022-09-13 16:58:08.101 DEBUG (MainThread) [zigpy.zcl] [0xB00B: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=68, command_id=10, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-09-13 16:58:08.103 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=64)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=32)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=0))])
2022-09-13 16:58:08.104 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0000] Received command 0x0A (TSN 68): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=64)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=32)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=0))])
2022-09-13 16:58:08.105 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0000] Attribute report received: app_version=64, 0xFFE2=32, 0xFFE4=0
2022-09-13 16:58:08.106 DEBUG (MainThread) [zigpy.zcl] [0xB00B: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=68, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-09-13 16:58:08.106 DEBUG (MainThread) [zigpy.zcl] [0xB00B:1:0x0000] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-09-13 16:58:08.107 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 68 under 112 request id, data: b'18440b0a00'
2022-09-13 16:58:08.108 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb00b>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'08440a01002040e2ff2020e4ff2000'
2022-09-13 16:58:08.108 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 112, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB00B endpoint=1>, 260, 0, 1, b'\x18D\x0b\n\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-13 16:58:08.108 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x12d2001b0014007000020bb0010401000001050018440b0a000200
2022-09-13 16:58:08.113 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12d200090002002270
2022-09-13 16:58:08.113 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 112]
2022-09-13 16:58:08.121 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed3000700a600
2022-09-13 16:58:08.121 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-09-13 16:58:08.122 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-09-13 16:58:08.122 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x04d30007000000
2022-09-13 16:58:08.126 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04d30013000c002270020bb001010000000000
2022-09-13 16:58:08.126 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 112: 00
2022-09-13 16:58:08.127 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x70 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb00b endpoint=1>, status: 0x00
2022-09-13 16:58:09.219 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4707](lumi.remote.b28ac1): last_seen is 4231003.926374674 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-09-13 16:58:09.219 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4707](lumi.remote.b28ac1): Update device availability - device available: False - new availability: False - changed: False
2022-09-13 16:58:11.214 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1EF8](TS0203): Device seen - marking the device available and resetting counter
2022-09-13 16:58:11.214 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x1EF8](TS0203): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:12.207 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x873D](TS0203): Device seen - marking the device available and resetting counter
2022-09-13 16:58:12.208 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x873D](TS0203): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:15.177 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE13A](TS0002): Device seen - marking the device available and resetting counter
2022-09-13 16:58:15.177 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE13A](TS0002): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:15.242 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x01C0](lumi.switch.n1aeu1): last_seen is 3964822.855497122 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-09-13 16:58:15.242 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x01C0](lumi.switch.n1aeu1): Update device availability - device available: False - new availability: False - changed: False
2022-09-13 16:58:18.274 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB00B](TS0601): Device seen - marking the device available and resetting counter
2022-09-13 16:58:18.274 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB00B](TS0601): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:19.201 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x689F](lumi.sensor_magnet.aq2): Device seen - marking the device available and resetting counter
2022-09-13 16:58:19.202 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x689F](lumi.sensor_magnet.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:19.260 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9E8F](TS0002): Device seen - marking the device available and resetting counter
2022-09-13 16:58:19.260 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9E8F](TS0002): Update device availability - device available: True - new availability: True - changed: False
2022-09-13 16:58:22.254 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8191](TS011F): Attempting to checkin with device - missed checkins: 1
2022-09-13 16:58:22.258 DEBUG (MainThread) [zigpy.zcl] [0x8191: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=113, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-09-13 16:58:22.259 DEBUG (MainThread) [zigpy.zcl] [0x8191:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4])
2022-09-13 16:58:22.261 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 113 under 114 request id, data: b'0071000400'
2022-09-13 16:58:22.261 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 114, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x8191 endpoint=1>, 260, 0, 1, b'\x00q\x00\x04\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-13 16:58:22.263 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x12d4001b0014007200029181010401000001050000710004000200
2022-09-13 16:58:22.266 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12d400090002002272
2022-09-13 16:58:22.267 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 114]
2reactions
gonzalezjjcommented, Sep 13, 2022

I’m pretty sure @lotr is describing the same behavior that I described as “HA behaves weirdly” (which, admittedly, is not very descriptive…). HA expects the move_to_level_with_on_off to be correctly implemented, so when the light is off and you increase the level using the slider in HA, HA automatically reports the light as on, since it has sent the move_to_level_with_on_off command. With the new code change, the light does not turn on, so there is a discrepancy between the actual state and what HA reports.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adjust the brightness and color temperature on your iPhone or ...
Use the brightness control in Control Center, or open Display & Brightness in Settings.
Read more >
Zigbee - Tasmota
For example a remote can turn on/off a group of lights. ... Changing any parameter with ZbConfig requires to re-pair all devices.
Read more >
TV shows or movies are too dark - Netflix Help Center
To change the Netflix brightness on a phone or tablet: Tap the screen while a TV show or movie is playing. Slide the...
Read more >
How To Stop iPhone Dimming — 7 REAL Fixes! [All Models]
David & David explain why your iPhone screen brightness changes by ... It's possible your iPhone's display brightness got turned down in an ......
Read more >
iPhone Screen Keeps Dimming With Auto-Brightness Off
To speed up the process, you can turn off your iPhone completely. If your device remains idle for a while, display brightness should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found