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

Zha error since 2024.09 update #126087

Closed
arnpere opened this issue Sep 16, 2024 · 2 comments
Closed

Zha error since 2024.09 update #126087

arnpere opened this issue Sep 16, 2024 · 2 comments

Comments

@arnpere
Copy link

arnpere commented Sep 16, 2024

The problem

Hello,
Not sure if this error should be reported in this section or in zha. It has been occurring since core_2024.9 upgrade (tried all including recent .3 release)

This is occurring in a script that makes a call to zha_toolkit.attr_read

Everything apart from core is up to date.

Let me know if anything else could be required to dig into this issue.

What version of Home Assistant Core has the issue?

Core_2024-9.2

What was the last working version of Home Assistant Core?

Core_2024.8.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

zha

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: Lecture attributs compteur Linky
sequence:
  - data:
      ieee: 00:15:8d:00:05:d2:5e:a3
      cluster: 65382
      attribute: 512
      use_cache: false
      state_id: sensor.compteur_linky_tarif_en_cours
      allow_create: true
    action: zha_toolkit.attr_read

Anything in the logs that might be useful for us?

`Cette erreur provient d'une intégration personnalisée

Enregistreur: custom_components.zha_toolkit
Source: custom_components/zha_toolkit/__init__.py:820
intégration: ZHA 🧰 Toolkit (documentation, problèmes)
S'est produit pour la première fois: 23:02:30 (1 occurrences)
Dernier enregistrement: 23:02:30

Exception 'module 'zigpy.zcl.foundation' has no attribute 'DATA_TYPES'' for service call with data '{'zha_toolkit_version': 'v1.1.19', 'zigpy_version': '0.66.0', 'zigpy_rf_version': '0.40.6', 'ieee_org': 00:15:8d:00:05:d2:5e:a3, 'ieee': '00:15:8d:00:05:d2:5e:a3', 'command': 'attr_read', 'command_data': None, 'start_time': '2024-09-16T21:02:30.525460+00:00', 'errors': ['AttributeError("module \'zigpy.zcl.foundation\' has no attribute \'DATA_TYPES\'")'], 'params': {'cluster_id': 65382, 'attr_id': 512, 'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'state_id': 'sensor.compteur_linky_tarif_en_cours', 'allow_create': True, 'read_before_write': True, 'read_after_write': True}, 'success': False}'`

Additional information

No response

@arnpere arnpere changed the title Zha error since 2024.08 update Zha error since 2024.09 update Sep 16, 2024
@elupus
Copy link
Contributor

elupus commented Sep 17, 2024

This must be fixed in the custom component. Report it to zha toolkit devs.

@elupus elupus closed this as completed Sep 17, 2024
@arnpere
Copy link
Author

arnpere commented Sep 17, 2024

Thanks, juste in case other people would like to follow the bug fix, I just found this pb has already been reported there : mdeweerd/zha-toolkit#261

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

No branches or pull requests

2 participants