Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Read attribute X value returns "Attribute X not in read ({}, {X: 0})" #267

Open
zziibb opened this issue Sep 28, 2024 · 1 comment
Open

Comments

@zziibb
Copy link

zziibb commented Sep 28, 2024

Hi,

For a few days, I am encountering an issue in reading values in a zigbee device and I can'i figure it alone unfortunately so any help would be greatly appreciated !

*** My configuration :

1- home assistant running on HAOS, with these versions

Core 2024.9.3
Supervisor 2024.09.1
Operating System 13.1
User Interface 20240909.1
zha_toolkit v 1.1.19

2- zigbee device I try to access : ZLinky_TIC (from LiXee)

*** What am I trying to achieve ?

I need to read several attributes that are not provided by default in HA sensors. This is why I use zha_toolkit to reach these attributes.

For example : the value LTAR, available under cluster 0xFF66 / attribute 0x0200 of the manufacturer 0x4151 as described here :
https://github.com/fairecasoimeme/Zlinky_TIC?tab=readme-ov-file#synth%C3%A8se-d%C3%A9veloppeur .

My YAML code (from the "Actions" tab) :

action: zha_toolkit.attr_read
data:
  ieee: sensor.capteur_teleinfo_courant
  cluster: 0xFF66
  attribute: 0x0200
  manf: 0x4151
  use_cache: false

*** /!\ The problem /!\ ZHA returns the following error

zha_toolkit_version: v1.1.19
zigpy_version: 0.66.0
zigpy_rf_version: 0.40.6
ieee_org: sensor.capteur_teleinfo_courant
ieee: 00:15:8d:00:05:d2:63:f7
command: attr_read
command_data: null
start_time: "2024-09-28T11:15:47.909730+00:00"
errors: []
params:
  cluster_id: 65382
  attr_id: 512
  dir: 0
  manf: 16721
  tries: 1
  expect_reply: true
  args: []
  read_before_write: true
  read_after_write: true
write_is_equal: false
result_read:
  - {}
  - "512": 0
warnings:
  - "Result: {512: 0} - Attribute 512 not in read ({}, {512: 0})"
success: false

but the attribute exists ! it can be read directly from the HA web interface : the returned value is "HP BLEU" as expected

image

So I am doing someting wrong, but what ?

*** Additional information : ZHA does not discover the attributes inside the clusters

Request :

action: zha_toolkit.scan_device
data:
  ieee: sensor.capteur_teleinfo_courant
  manf: 0x4151    # the reply is the same without this parameter
  use_cache: false

Reply : all attributes fields are empty ?

zha_toolkit_version: v1.1.19
zigpy_version: 0.66.0
zigpy_rf_version: 0.40.6
ieee_org: sensor.capteur_teleinfo_courant
ieee: 00:15:8d:00:05:d2:63:f7
command: scan_device
command_data: null
start_time: "2024-09-28T11:36:11.883414+00:00"
errors: []
params:
  dir: 0
  manf: 16721
  tries: 1
  expect_reply: true
  args: []
  read_before_write: true
  read_after_write: true
scan:
  ieee: 00:15:8d:00:05:d2:63:f7
  nwk: "0xdd48"
  model: ZLinky_TIC
  manufacturer: LiXee
  manufacturer_id: "0x4151"
  endpoints:
    - id: 1
      device_type: "0x0053"
      profile: "0x0104"
      in_clusters:
        "0x0000":
          cluster_id: "0x0000"
          title: Basic
          name: basic
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0x0001":
          cluster_id: "0x0001"
          title: Power Configuration
          name: power
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0x0003":
          cluster_id: "0x0003"
          title: Identify
          name: identify
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0x0702":
          cluster_id: "0x0702"
          title: ZLinkyTICMetering
          name: smartenergy_metering
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0x0b01":
          cluster_id: "0x0b01"
          title: Meter Identification
          name: meter_id
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0x0b04":
          cluster_id: "0x0b04"
          title: Electrical Measurement
          name: electrical_measurement
          attributes: {}
          commands_received: {}
          commands_generated: {}
        "0xff66":
          cluster_id: "0xff66"
          title: ZLinky_TIC Manufacturer specific
          name: zlinky_manufacturer_specific
          attributes: {}
          commands_received: {}
          commands_generated: {}
      out_clusters:
        "0x0019":
          cluster_id: "0x0019"
          title: Ota
          name: ota
          attributes: {}
          commands_received: {}
          commands_generated: {}
    - id: 242
      device_type: "0x0061"
      profile: "0xa1e0"
success: true

*** Debug logs

2024-09-28 13:45:00.300 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.attr_read (c:01J8W75JWBA1XQAAV5F58PJZ23): ieee=sensor.capteur_teleinfo_courant, cluster=65382, attribute=512, manf=16721, use_cache=False, event_done=zha_done, state_id=sensor.capteur_teleinfo_ltarf, allow_create=True>
2024-09-28 13:45:00.300 DEBUG (MainThread) [custom_components.zha_toolkit] Got hass.data['zha']/gateway <zha.application.gateway.Gateway object at 0x7f9e1700eba0>
2024-09-28 13:45:00.306 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2024-09-28 13:45:00.307 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Read version from /config/custom_components/zha_toolkit/manifest.json 1726929472.4430287<>0.0
2024-09-28 13:45:00.308 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{'ieee': 'sensor.capteur_teleinfo_courant', 'cluster': 65382, 'attribute': 512, 'manf': 16721, 'use_cache': False, 'event_done': 'zha_done', 'state_id': 'sensor.capteur_teleinfo_ltarf', 'allow_create': True}'
2024-09-28 13:45:00.308 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf '16721'
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_entity RegistryEntry(entity_id='sensor.capteur_teleinfo_courant', unique_id='00:15:8d:00:05:d2:63:f7-1-2820-rms_current', platform='zha', previous_unique_id=None, aliases=set(), area_id=None, categories={}, capabilities={'state_class': 'measurement'}, config_entry_id='6255e6573ba5ca4127b257ae018a2e18', created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 666680, tzinfo=datetime.timezone.utc), device_class=None, device_id='931f527681b698761bc222858b0d8aba', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ba20fbc9ec41869ec016fcfb78f73eb5', has_entity_name=True, labels=set(), modified_at=datetime.datetime(2024, 9, 26, 6, 9, 7, 254769, tzinfo=datetime.timezone.utc), name='Capteur Teleinfo Courant', options={'conversation': {'should_expose': False}, 'sensor': {'display_precision': 1}}, original_device_class='current', original_icon=None, original_name='Courant', supported_features=0, translation_key=None, unit_of_measurement='A')
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_device DeviceEntry(area_id='armoire_rue', config_entries={'6255e6573ba5ca4127b257ae018a2e18'}, configuration_url=None, connections={('zigbee', '00:15:8d:00:05:d2:63:f7')}, created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 656884, tzinfo=datetime.timezone.utc), disabled_by=None, entry_type=None, hw_version=None, id='931f527681b698761bc222858b0d8aba', identifiers={('zha', '00:15:8d:00:05:d2:63:f7')}, labels={'power'}, manufacturer='LiXee', model='ZLinky_TIC', model_id=None, modified_at=datetime.datetime(2024, 9, 20, 17, 15, 21, 28369, tzinfo=datetime.timezone.utc), name_by_user='Capteur Teleinfo', name='LiXee ZLinky_TIC', primary_config_entry='6255e6573ba5ca4127b257ae018a2e18', serial_number=None, suggested_area=None, sw_version=None, via_device_id=None, is_new=False)
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit] 'ieee' parameter: 'sensor.capteur_teleinfo_courant' -> IEEE Addr: '00:15:8d:00:05:d2:63:f7'
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for attr_read
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f9e079228e0>
2024-09-28 13:45:00.309 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.attr_read (c:01J8W75JWBA1XQAAV5F58PJZ23): ieee=sensor.capteur_teleinfo_courant, cluster=65382, attribute=512, manf=16721, use_cache=False, event_done=zha_done, state_id=sensor.capteur_teleinfo_ltarf, allow_create=True>
2024-09-28 13:45:00.309 DEBUG (ImportExecutor_0) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.zcl_attr to call attr_read
2024-09-28 13:45:00.311 DEBUG (MainThread) [custom_components.zha_toolkit.utils] IEEE for get_device: 00:15:8d:00:05:d2:63:f7 00:15:8d:00:05:d2:63:f7
2024-09-28 13:45:00.311 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Endpoint 1 found for cluster '65382'
2024-09-28 13:45:00.312 DEBUG (MainThread) [custom_components.zha_toolkit.zcl_attr] Request attr read [512]
2024-09-28 13:45:00.365 DEBUG (MainThread) [custom_components.zha_toolkit.zcl_attr] Reading attr result (attrs, status): ({}, {512: 0})
2024-09-28 13:45:00.365 WARNING (MainThread) [custom_components.zha_toolkit.zcl_attr] Result: {512: 0} - Attribute 512 not in read ({}, {512: 0})
2024-09-28 13:45:00.365 DEBUG (MainThread) [custom_components.zha_toolkit] event_data {'zha_toolkit_version': 'v1.1.19', 'zigpy_version': '0.66.0', 'zigpy_rf_version': '0.40.6', 'ieee_org': 'sensor.capteur_teleinfo_courant', 'ieee': '00:15:8d:00:05:d2:63:f7', 'command': 'attr_read', 'command_data': None, 'start_time': '2024-09-28T11:45:00.309314+00:00', 'errors': [], 'params': {'cluster_id': 65382, 'attr_id': 512, 'dir': 0, 'manf': 16721, 'tries': 1, 'expect_reply': True, 'args': [], 'state_id': 'sensor.capteur_teleinfo_ltarf', 'allow_create': True, 'event_done': 'zha_done', 'read_before_write': True, 'read_after_write': True}, 'write_is_equal': False, 'result_read': ({}, {512: 0}), 'warnings': ['Result: {512: 0} - Attribute 512 not in read ({}, {512: 0})'], 'success': False}
2024-09-28 13:45:00.365 DEBUG (MainThread) [custom_components.zha_toolkit] Fire zha_done -> {'zha_toolkit_version': 'v1.1.19', 'zigpy_version': '0.66.0', 'zigpy_rf_version': '0.40.6', 'ieee_org': 'sensor.capteur_teleinfo_courant', 'ieee': '00:15:8d:00:05:d2:63:f7', 'command': 'attr_read', 'command_data': None, 'start_time': '2024-09-28T11:45:00.309314+00:00', 'errors': [], 'params': {'cluster_id': 65382, 'attr_id': 512, 'dir': 0, 'manf': 16721, 'tries': 1, 'expect_reply': True, 'args': [], 'state_id': 'sensor.capteur_teleinfo_ltarf', 'allow_create': True, 'event_done': 'zha_done', 'read_before_write': True, 'read_after_write': True}, 'write_is_equal': False, 'result_read': ({}, {512: 0}), 'warnings': ['Result: {512: 0} - Attribute 512 not in read ({}, {512: 0})'], 'success': False}
  File "/config/custom_components/zha_toolkit/__init__.py", line 817, in toolkit_service
  File "/config/custom_components/zha_toolkit/__init__.py", line 817, in toolkit_service
2024-09-28 13:45:04.381 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.scan_device (c:01J8W75PVWBRGB5JPJJ8PB66R1): ieee=sensor.capteur_teleinfo_courant, use_cache=False>
2024-09-28 13:45:04.381 DEBUG (MainThread) [custom_components.zha_toolkit] Got hass.data['zha']/gateway <zha.application.gateway.Gateway object at 0x7f9e1700eba0>
2024-09-28 13:45:04.386 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2024-09-28 13:45:04.388 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Read version from /config/custom_components/zha_toolkit/manifest.json 1726929472.4430287<>0.0
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{'ieee': 'sensor.capteur_teleinfo_courant', 'use_cache': False}'
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf 'None'
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_entity RegistryEntry(entity_id='sensor.capteur_teleinfo_courant', unique_id='00:15:8d:00:05:d2:63:f7-1-2820-rms_current', platform='zha', previous_unique_id=None, aliases=set(), area_id=None, categories={}, capabilities={'state_class': 'measurement'}, config_entry_id='6255e6573ba5ca4127b257ae018a2e18', created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 666680, tzinfo=datetime.timezone.utc), device_class=None, device_id='931f527681b698761bc222858b0d8aba', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ba20fbc9ec41869ec016fcfb78f73eb5', has_entity_name=True, labels=set(), modified_at=datetime.datetime(2024, 9, 26, 6, 9, 7, 254769, tzinfo=datetime.timezone.utc), name='Capteur Teleinfo Courant', options={'conversation': {'should_expose': False}, 'sensor': {'display_precision': 1}}, original_device_class='current', original_icon=None, original_name='Courant', supported_features=0, translation_key=None, unit_of_measurement='A')
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_device DeviceEntry(area_id='armoire_rue', config_entries={'6255e6573ba5ca4127b257ae018a2e18'}, configuration_url=None, connections={('zigbee', '00:15:8d:00:05:d2:63:f7')}, created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 656884, tzinfo=datetime.timezone.utc), disabled_by=None, entry_type=None, hw_version=None, id='931f527681b698761bc222858b0d8aba', identifiers={('zha', '00:15:8d:00:05:d2:63:f7')}, labels={'power'}, manufacturer='LiXee', model='ZLinky_TIC', model_id=None, modified_at=datetime.datetime(2024, 9, 20, 17, 15, 21, 28369, tzinfo=datetime.timezone.utc), name_by_user='Capteur Teleinfo', name='LiXee ZLinky_TIC', primary_config_entry='6255e6573ba5ca4127b257ae018a2e18', serial_number=None, suggested_area=None, sw_version=None, via_device_id=None, is_new=False)
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit] 'ieee' parameter: 'sensor.capteur_teleinfo_courant' -> IEEE Addr: '00:15:8d:00:05:d2:63:f7'
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for scan_device
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f9e077cfce0>
2024-09-28 13:45:04.389 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.scan_device (c:01J8W75PVWBRGB5JPJJ8PB66R1): ieee=sensor.capteur_teleinfo_courant, use_cache=False>
2024-09-28 13:45:04.389 DEBUG (ImportExecutor_0) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.scan_device to call scan_device
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Running 'scan_device'
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.utils] IEEE for get_device: 00:15:8d:00:05:d2:63:f7 00:15:8d:00:05:d2:63:f7
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning device 0x{dd48}
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Endpoints [0, 1, 242]
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scanning endpoint #1
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning endpoint #1 with manf 'None'
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0000/'basic' 
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:04.390 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:04.653 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0000/0x0000
2024-09-28 13:45:04.653 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:04.653 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:04.653 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:04.653 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:04.913 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:04.913 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:04.913 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:05.172 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:05.172 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0001/'power' 
2024-09-28 13:45:05.172 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:05.172 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:05.439 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0001/0x0000
2024-09-28 13:45:05.439 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:05.439 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:05.439 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:05.439 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:05.699 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:05.699 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:05.699 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:05.960 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:05.960 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0003/'identify' 
2024-09-28 13:45:05.960 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:05.960 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:06.219 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0003/0x0000
2024-09-28 13:45:06.219 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:06.219 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:06.220 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:06.220 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:06.484 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:06.484 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:06.484 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:06.741 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:06.741 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0702/'smartenergy_metering' 
2024-09-28 13:45:06.741 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:06.742 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:07.008 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0702/0x0000
2024-09-28 13:45:07.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:07.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:07.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:07.008 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:07.269 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:07.270 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:07.270 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:07.536 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:07.537 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0b01/'meter_id' 
2024-09-28 13:45:07.537 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:07.537 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:07.801 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b01/0x0000
2024-09-28 13:45:07.801 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:07.801 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:07.801 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:07.801 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:08.064 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:08.064 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:08.064 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:08.362 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:08.362 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0b04/'electrical_measurement' 
2024-09-28 13:45:08.362 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:08.362 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:08.633 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b04/0x0000
2024-09-28 13:45:08.633 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:08.633 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:08.633 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:08.634 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:08.890 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:08.890 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:08.890 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:09.149 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:09.149 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0xff66/'zlinky_manufacturer_specific' 
2024-09-28 13:45:09.149 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:09.149 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:09.415 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0xff66/0x0000
2024-09-28 13:45:09.415 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:09.415 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:09.415 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:09.415 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:09.678 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:09.678 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:09.678 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:09.938 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:09.938 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning output cluster 0x0019/'ota'
2024-09-28 13:45:09.938 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:09.939 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:10.196 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0019/0x0000
2024-09-28 13:45:10.196 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:10.196 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:10.196 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:10.196 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:10.492 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:10.493 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:10.493 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:10.753 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:10.754 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning endpoint #1 with manf '4151'
2024-09-28 13:45:10.754 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0000/'basic' 
2024-09-28 13:45:10.754 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:10.754 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:11.007 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0000/0x0000
2024-09-28 13:45:11.007 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:11.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:11.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:11.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:11.008 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:11.277 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0000/0x0000
2024-09-28 13:45:11.277 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:11.277 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:11.277 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:11.557 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:11.557 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:11.557 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:11.808 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:11.808 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0001/'power' 
2024-09-28 13:45:11.808 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:11.808 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:12.073 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0001/0x0000
2024-09-28 13:45:12.073 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:12.073 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:12.073 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:12.073 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:12.073 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:12.334 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0001/0x0000
2024-09-28 13:45:12.334 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:12.335 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:12.335 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:12.596 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:12.596 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:12.596 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:12.863 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:12.863 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0003/'identify' 
2024-09-28 13:45:12.863 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:12.864 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:13.118 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0003/0x0000
2024-09-28 13:45:13.119 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:13.119 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:13.119 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:13.119 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:13.119 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:13.380 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0003/0x0000
2024-09-28 13:45:13.380 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:13.380 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:13.380 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:13.631 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:13.631 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:13.632 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:13.895 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:13.895 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0702/'smartenergy_metering' 
2024-09-28 13:45:13.895 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:13.895 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:14.154 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0702/0x0000
2024-09-28 13:45:14.154 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:14.154 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:14.154 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:14.154 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:14.154 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:14.417 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0702/0x0000
2024-09-28 13:45:14.417 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:14.417 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:14.417 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:14.684 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:14.684 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:14.684 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:14.955 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:14.955 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0b01/'meter_id' 
2024-09-28 13:45:14.955 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:14.955 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:15.218 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b01/0x0000
2024-09-28 13:45:15.218 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:15.218 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:15.218 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:15.218 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:15.218 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:15.481 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b01/0x0000
2024-09-28 13:45:15.481 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:15.481 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:15.481 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:15.736 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:15.736 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:15.736 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:16.008 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:16.008 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0x0b04/'electrical_measurement' 
2024-09-28 13:45:16.009 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:16.009 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:16.278 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b04/0x0000
2024-09-28 13:45:16.278 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:16.278 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:16.279 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:16.279 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:16.279 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:16.551 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0b04/0x0000
2024-09-28 13:45:16.552 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:16.552 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:16.552 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:16.816 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:16.817 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:16.817 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:17.081 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:17.081 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning input cluster 0xff66/'zlinky_manufacturer_specific' 
2024-09-28 13:45:17.081 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:17.081 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:17.350 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0xff66/0x0000
2024-09-28 13:45:17.350 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:17.350 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:17.350 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:17.350 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:17.350 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:17.613 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0xff66/0x0000
2024-09-28 13:45:17.613 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:17.613 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:17.613 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:17.871 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:17.871 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:17.871 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:18.130 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:18.130 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Scanning output cluster 0x0019/'ota'
2024-09-28 13:45:18.130 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:18.130 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:18.389 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0019/0x0000
2024-09-28 13:45:18.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:18.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none): {}
2024-09-28 13:45:18.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scan_cluster attributes (none) with manf '4151': {}
2024-09-28 13:45:18.390 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering attributes extended
2024-09-28 13:45:18.390 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:18.651 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_attribute starting 0x0019/0x0000
2024-09-28 13:45:18.651 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Reading attrs: []
2024-09-28 13:45:18.651 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands received
2024-09-28 13:45:18.651 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:18.918 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:18.918 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] Discovering commands generated
2024-09-28 13:45:18.918 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Tries remaining: 1
2024-09-28 13:45:19.178 ERROR (MainThread) [custom_components.zha_toolkit.scan_device] got Status.UNSUP_GENERAL_COMMAND status for discover_commands starting 0
2024-09-28 13:45:19.178 DEBUG (MainThread) [custom_components.zha_toolkit.scan_device] scanning endpoint #242
2024-09-28 13:45:19.179 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Normalize ZLinky_TIC_LiXee_0005d263f7_scan_results.txt->ZLinky_TIC_LiXee_0005d263f7_scan_results.txt
2024-09-28 13:45:19.179 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Finished writing scan results in '/config/scans/ZLinky_TIC_LiXee_0005d263f7_scan_results.txt'
2024-09-28 13:45:19.179 DEBUG (MainThread) [custom_components.zha_toolkit] event_data {'zha_toolkit_version': 'v1.1.19', 'zigpy_version': '0.66.0', 'zigpy_rf_version': '0.40.6', 'ieee_org': 'sensor.capteur_teleinfo_courant', 'ieee': '00:15:8d:00:05:d2:63:f7', 'command': 'scan_device', 'command_data': None, 'start_time': '2024-09-28T11:45:04.389540+00:00', 'errors': [], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'read_before_write': True, 'read_after_write': True}, 'scan': {'ieee': '00:15:8d:00:05:d2:63:f7', 'nwk': '0xdd48', 'model': 'ZLinky_TIC', 'manufacturer': 'LiXee', 'manufacturer_id': '0x4151', 'endpoints': [{'id': 1, 'device_type': '0x0053', 'profile': '0x0104', 'in_clusters': {'0x0000': {'cluster_id': '0x0000', 'title': 'Basic', 'name': 'basic', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0x0001': {'cluster_id': '0x0001', 'title': 'Power Configuration', 'name': 'power', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0x0003': {'cluster_id': '0x0003', 'title': 'Identify', 'name': 'identify', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0x0702': {'cluster_id': '0x0702', 'title': 'ZLinkyTICMetering', 'name': 'smartenergy_metering', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0x0b01': {'cluster_id': '0x0b01', 'title': 'Meter Identification', 'name': 'meter_id', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0x0b04': {'cluster_id': '0x0b04', 'title': 'Electrical Measurement', 'name': 'electrical_measurement', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}, '0xff66': {'cluster_id': '0xff66', 'title': 'ZLinky_TIC Manufacturer specific', 'name': 'zlinky_manufacturer_specific', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}}, 'out_clusters': {'0x0019': {'cluster_id': '0x0019', 'title': 'Ota', 'name': 'ota', 'attributes': {}, 'commands_received': {}, 'commands_generated': {}}}}, {'id': 242, 'device_type': '0x0061', 'profile': '0xa1e0'}]}, 'success': True}
2024-09-28 13:45:25.212 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.attr_read (c:01J8W76B6VR9YD28WJZK6HY3JH): ieee=sensor.capteur_teleinfo_courant, cluster=65382, attribute=512, manf=16721, use_cache=False>
2024-09-28 13:45:25.212 DEBUG (MainThread) [custom_components.zha_toolkit] Got hass.data['zha']/gateway <zha.application.gateway.Gateway object at 0x7f9e1700eba0>
2024-09-28 13:45:25.217 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2024-09-28 13:45:25.218 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Read version from /config/custom_components/zha_toolkit/manifest.json 1726929472.4430287<>0.0
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{'ieee': 'sensor.capteur_teleinfo_courant', 'cluster': 65382, 'attribute': 512, 'manf': 16721, 'use_cache': False}'
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf '16721'
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_entity RegistryEntry(entity_id='sensor.capteur_teleinfo_courant', unique_id='00:15:8d:00:05:d2:63:f7-1-2820-rms_current', platform='zha', previous_unique_id=None, aliases=set(), area_id=None, categories={}, capabilities={'state_class': 'measurement'}, config_entry_id='6255e6573ba5ca4127b257ae018a2e18', created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 666680, tzinfo=datetime.timezone.utc), device_class=None, device_id='931f527681b698761bc222858b0d8aba', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ba20fbc9ec41869ec016fcfb78f73eb5', has_entity_name=True, labels=set(), modified_at=datetime.datetime(2024, 9, 26, 6, 9, 7, 254769, tzinfo=datetime.timezone.utc), name='Capteur Teleinfo Courant', options={'conversation': {'should_expose': False}, 'sensor': {'display_precision': 1}}, original_device_class='current', original_icon=None, original_name='Courant', supported_features=0, translation_key=None, unit_of_measurement='A')
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Found registry_device DeviceEntry(area_id='armoire_rue', config_entries={'6255e6573ba5ca4127b257ae018a2e18'}, configuration_url=None, connections={('zigbee', '00:15:8d:00:05:d2:63:f7')}, created_at=datetime.datetime(2024, 9, 19, 6, 49, 47, 656884, tzinfo=datetime.timezone.utc), disabled_by=None, entry_type=None, hw_version=None, id='931f527681b698761bc222858b0d8aba', identifiers={('zha', '00:15:8d:00:05:d2:63:f7')}, labels={'power'}, manufacturer='LiXee', model='ZLinky_TIC', model_id=None, modified_at=datetime.datetime(2024, 9, 20, 17, 15, 21, 28369, tzinfo=datetime.timezone.utc), name_by_user='Capteur Teleinfo', name='LiXee ZLinky_TIC', primary_config_entry='6255e6573ba5ca4127b257ae018a2e18', serial_number=None, suggested_area=None, sw_version=None, via_device_id=None, is_new=False)
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit] 'ieee' parameter: 'sensor.capteur_teleinfo_courant' -> IEEE Addr: '00:15:8d:00:05:d2:63:f7'
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for attr_read
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f9e0789b100>
2024-09-28 13:45:25.219 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.attr_read (c:01J8W76B6VR9YD28WJZK6HY3JH): ieee=sensor.capteur_teleinfo_courant, cluster=65382, attribute=512, manf=16721, use_cache=False>
2024-09-28 13:45:25.220 DEBUG (ImportExecutor_0) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.zcl_attr to call attr_read
2024-09-28 13:45:25.221 DEBUG (MainThread) [custom_components.zha_toolkit.utils] IEEE for get_device: 00:15:8d:00:05:d2:63:f7 00:15:8d:00:05:d2:63:f7
2024-09-28 13:45:25.221 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Endpoint 1 found for cluster '65382'
2024-09-28 13:45:25.221 DEBUG (MainThread) [custom_components.zha_toolkit.zcl_attr] Request attr read [512]
@zziibb zziibb changed the title Read attribute X value : attr_read "Result: {X: 0} - Attribute X not in read ({}, {512: 0})" Read attribute X value returns "Attribute X not in read ({}, {X: 0})" Sep 28, 2024
@gummiangler
Copy link

Same Problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants