Version of the custom_component
latest, Version 0.5.0
Configuration
Add your logs here.
Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/readme/__init__.py:192
integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 21:08:18 (1 occurrence)
Last logged: 21:08:18
[139909048065120] Error handling message: Unknown error (unknown_error) Simplemice from 192.168.3.15 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 1057, in handle_execute_script
script_result = await script_obj.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
msg.get("variables"), context=context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1865, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 467, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 533, in _async_step
self._handle_exception(
~~~~~~~~~~~~~~~~~~~~~~^
ex, continue_on_error, self._log_exceptions or log_exceptions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 563, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 531, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1018, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 631, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2817, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2860, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/readme/__init__.py", line 155, in service_generate
installed_addons = get_ha_installed_addons(hass)
File "/config/custom_components/readme/__init__.py", line 192, in get_ha_installed_addons
if not hass.components.hassio.is_hassio():
^^^^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'components'
Describe the bug
A clear and concise description of what the bug is.
Debug log
Installation method
…
Core
2026.3.4
Supervisor
2026.03.2
Operating System
17.1
Frontend
20260312.1
Version of the custom_component
latest, Version 0.5.0
Configuration
Describe the bug
A clear and concise description of what the bug is.
Debug log
Installation method
…
Core
2026.3.4
Supervisor
2026.03.2
Operating System
17.1
Frontend
20260312.1