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

Unknown error: OTA' object has no attribute '_listeners'' for service call #221

Closed
Youngblood50 opened this issue Mar 8, 2024 · 4 comments

Comments

@Youngblood50
Copy link

Cannot trigger fw updates anymore for any device.

Logger: custom_components.zha_toolkit
Source: custom_components/zha_toolkit/init.py:817
Integration: 🧰 ZHA Toolkit

Exception ''OTA' object has no attribute '_listeners'' for service call with data '{'zha_toolkit_version': 'v1.1.8', 'zigpy_version': '0.63.4', 'zigpy_rf_version': '0.12.1', 'ieee_org': 'light.lamp_light', 'ieee': 'd0:cf:5e:ff:fe:fc:85:1f', 'command': 'ota_notify', 'command_data': None, 'start_time': '2024-03-08T11:28:06.111063+00:00', 'errors': ['AttributeError("'OTA' object has no attribute '_listeners'")'], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'read_before_write': True, 'read_after_write': True, 'download': True}, 'PAR': {'cmd_id': None, 'endpoint_id': None, 'dst_endpoint_id': None, 'cluster_id': None, 'attr_id': None, 'attr_type': None, 'attr_val': None, 'code': None, 'min_interval': None, 'max_interval': None, 'reportable_change': None, 'dir': 0, 'manf': None, 'tries': 1, 'expect_reply': True, 'args': [], 'state_id': None, 'state_attr': None, 'state_value_template': None, 'force_update': False, 'allow_create': False, 'event_success': None, 'event_fail': None, 'event_done': None, 'fail_exception': False, 'read_before_write': True, 'read_after_write': True, 'write_if_equal': False, 'csvfile': None, 'csvlabel': None, 'download': True, 'path': None, 'use_cache': False}, 'success': False}'

Core: 2024.3.0
Supervisor: 2024.02.1
OS: 12.0
Frontend: 20240306.0
HACS Integrations Version: 1.34.0
HACS Frontend Version: 20240119163101

@mdeweerd
Copy link
Owner

mdeweerd commented Mar 8, 2024

I have not installed the latest HA version yet - I believe that there is now functionnality for updates from the device details.

Anyway, this probably goes deeper - zigpy/zha is changing its internals so may impact other commands as well.

@nlincke
Copy link

nlincke commented Mar 28, 2024

Hey,

i have the very same problem running "Core: 2024.3.3".
Any idea if you will be able to fix this? I really looking forward for the update functionality...
... if you need further information, feel free to ask.

@systemcrash
Copy link
Contributor

See #225 and PR #226

@mdeweerd
Copy link
Owner

I've integrated the fixes so this should be fixed in the release.

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

4 participants