-
Notifications
You must be signed in to change notification settings - Fork 33
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
Unexpected error for call_service at pos 1: 'NoneType' object has no attribute 'bus' #258
Comments
Running on 2024.8.1 or older ? (2024.8.0 introduced a lot of changes in zha). EDIT: I suppose that you are on 2024.8. It looks like there is an issue with zha_toolkit::utils::get_hass() which returns None. Which means that zha_gw is "None" or hass was not properly retrieved from zha_gw. |
I'm running 2024.8.1 |
I've added 1.1.20 as a beta/pre-release. I should log information about the properties available from the gateway to see which one we can use. |
I'm getting the same error with 1.1.19 and I just tried 1.1.20 but it's now throwing a different error:
I'm currently on 2024.8.2 |
I made another pre-release which should provide more info in |
I figured out that if I put the actual name of the attribute (i.e. last_message_rssi) instead of the attribute id (i.e. 285), it works again. |
I get the same error when the answer to |
Same issue running the znp backup. v1.1.19 on 2024.8.3 |
Same issue for me with the backup automation on 2024.9.1. |
I'm getting the following in the logs when calling zha_toolkit.zha_devices:-
Currently running v1.1.19
And also now:-
Exception ''ZHAGatewayProxy' object has no attribute 'devices'' for service call with data '{'zha_toolkit_version': 'v1.1.19', 'zigpy_version': '0.65.3', 'zigpy_rf_version': '0.40.3', 'ieee_org': None, 'ieee': 'None', 'command': 'zha_devices', 'command_data': None, 'start_time': '2024-08-15T07:48:36.700538+00:00', 'errors': ['AttributeError("\'ZHAGatewayProxy\' object has no attribute \'devices\'")'], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'read_before_write': True, 'read_after_write': True}, 'success': False}'
The text was updated successfully, but these errors were encountered: