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

v.1.1.16 - Service not found for call_service at pos 1: Action zha_toolkit.attr_read not found #248

Closed
thelastoth opened this issue Aug 8, 2024 · 18 comments

Comments

@thelastoth
Copy link

After updating HA to 24.8, and jumping to toolkit v16 this morning from v12 ( v14 was causing issues past days ), I got the error message in title.

@jonathanmend33
Copy link

Same bug here (updating HA to 24.8, and jumping to toolkit v16 this morning from v12).
Service "zha_toolkit.attr_read not found"

@CordoWEB
Copy link

CordoWEB commented Aug 8, 2024

Same bug here on HA 2024.6.4.

@Mrtnvw
Copy link

Mrtnvw commented Aug 8, 2024

Same bug here after upgrading from V1.1.12 > .14, remains at .16.

@gravymaker17
Copy link

Also seeing a similar error on .16 when triggering a script of mine that calls the zha_toolkit.execute method.

@wbyoung
Copy link
Contributor

wbyoung commented Aug 9, 2024

Try out the beta release, 1.1.19 and see how things go. This resolved all issues for my use cases.

@gravymaker17
Copy link

This resolved my issue, thanks!

@thelastoth
Copy link
Author

With the new release - 2024.9.0 - the same issue came back unfortunately.

@mdeweerd
Copy link
Owner

I suppose that this is fixed with the updates this week. Closing.

@Anthranilic
Copy link

I'm running to a similar issue now in v1.1.26: "Action zha_toolkit.bindings_get not found." when trying to perform an action under developer tools.

@mdeweerd
Copy link
Owner

@Anthranilic I think you made a typo:

Image

@Anthranilic
Copy link

Thank you for responding so quickly! And apologies - yes, I had shared a typo - but not working when corrected either. I get the error "Action zha_toolkit.binds_get not found.":

Image

@mdeweerd
Copy link
Owner

mdeweerd commented Feb 25, 2025

Ok, I tested and it works for me:

Image

Just type "binding table" in action to see if it is listed in the services. If not, look for other actions that are present for zha-toolkit. If no action is present, it looks like some configuration issue and hopefully there are indications in home-assistant.log.

Image

@Anthranilic
Copy link

No luck searching for just "binding table" or any zha_toolkit actions. I checked the log file, the only associated lines I see are below:

"""
2025-02-25 12:05:40.743 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2025-02-25 12:05:40.743 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2025-02-25 12:05:40.744 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Service not found for call_service at pos 1: Action zha_toolkit.binds_get not found
2025-02-25 12:05:40.744 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281472667442128] Action zha_toolkit.binds_get not found
"""

as well as an earlier notification just acknowledging zha_toolkit was installed:
"""
2025-02-24 20:32:30.615 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration zha_toolkit which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
"""

Is there anything else more specific I should be looking for? I can't see any other zha_toolkit containing lines, other than similar ones to what I posted above (indicating service not found / action not found errors).

@mdeweerd
Copy link
Owner

Quite strange. The log suggests zha-toolkit is loaded, but you do not see the services.
Re-install? Restart?

@Anthranilic
Copy link

No luck with a reinstall or restart, will try a full HACS reinstall next. Any other information I can provide that might help narrow down the issue?

@mdeweerd
Copy link
Owner

You can enable the debug messages (see the README) - to see the messages at startup you need to enable them "permanently" (i.e., applying this through Developer Tools>Action will not help to see the behavior at startup).

@Anthranilic
Copy link

Well... this is embarrassing. I think I should have more closely read the section of the docs titled "Enabling zha-toolkit".

I had not added "zha_toolkit:" to the configuration.yaml file. I have added it, and am now seeing zha_toolkit actions.

All fixed. Thank you very much for helping me through this.

@mdeweerd
Copy link
Owner

Very well - I prefer that. I did not suggest this because you did have a mention of zha-toolkit in the home-assistant.log. Will do in the future though.

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

8 participants