Skip to content

Commit 4c1364d

Browse files
authored
Fix wrong type annotation in exposed_entities (home-assistant#152142)
1 parent 09a44a6 commit 4c1364d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/homeassistant/exposed_entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def ws_expose_entity(
406406
hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]
407407
) -> None:
408408
"""Expose an entity to an assistant."""
409-
entity_ids: str = msg["entity_ids"]
409+
entity_ids: list[str] = msg["entity_ids"]
410410

411411
if blocked := next(
412412
(

0 commit comments

Comments
 (0)