mass_queue icon indicating copy to clipboard operation
mass_queue copied to clipboard

Missing async at api_get_entity_info

Open afv opened this issue 10 months ago • 2 comments

Hello, at websocket_commands.py, the api_get_entity_info is missing an async:

…
@websocket_api.async_response
def api_get_entity_info(
    hass: HomeAssistant,
    connection: websocket_api.ActiveConnection,
    msg: dict,
)
…

Causing this:

homeassistant  | 2026-01-24 18:48:24.828 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [123788037199232] Error handling message: Unknown error (unknown_error) username from […]
homeassistant  | Traceback (most recent call last):
homeassistant  |   File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
homeassistant  |     await func(hass, connection, msg)
homeassistant  | TypeError: object NoneType can't be used in 'await' expression

afv avatar Jan 24 '26 19:01 afv

Is that really what the issue was this whole time?

Let's see if this beta fixes it.

droans avatar Jan 30 '26 02:01 droans

Closed with v0.10.1

droans avatar Feb 25 '26 15:02 droans