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
@service crashs homeassistant #517
Comments
I tried 2023.8.3 with your service example and it works fine for me. I'm not sure why it is crashing in your case. |
Same problem for me. HA 2023.8.3, core install on venv - Python 3.11.4 EDIT:
|
can confirm the workaround from Kaptensanders. @Kaptensanders thanks for the workaround |
I've confirmed that this code works in 2023.7.3, but fails in 2023.8.3 when there is a service defined in from homeassistant.helpers.service import async_get_all_descriptions
descriptions = async_get_all_descriptions(hass) From the error message, it fails trying to load translations. Is anyone familiar with any recent HASS service description/translation changes? |
The issue is this code I can't see a work around for this. Perhaps it's a breaking change, and you can only create services in |
Breaking change maybe but an ok one. When you think about it it's is maybe bad practice to refer to non-existing integrations. Not surprising that could lead to problems with HA.
|
After updating HA to the latest version (2023.8.3) from 2023.7, HA did not start.
I had to disable all pyscripts to get it to run at all.
After a lot of testing, it turns out that the @service statement is the problem.
The following statement runed from jupyter, leads to HA being unstable. HA seems to run, but no longer accepts new browser connections. I've to restart HA.
The text was updated successfully, but these errors were encountered: