Fix wrong type annotation in exposed_entities (#152142)

This commit is contained in:
Erik Montnemery
2025-09-12 09:32:17 +02:00
committed by GitHub
parent 09a44a6a30
commit 4c1364dfd1
@@ -406,7 +406,7 @@ def ws_expose_entity(
hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]
) -> None:
"""Expose an entity to an assistant."""
entity_ids: str = msg["entity_ids"]
entity_ids: list[str] = msg["entity_ids"]
if blocked := next(
(