mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Improve typing of entity.entity_sources (#99407)
* Improve typing of entity.entity_sources * Calculate entity info source when generating WS response * Adjust typing * Update tests
This commit is contained in:
@ -596,7 +596,7 @@ async def handle_render_template(
|
||||
|
||||
|
||||
def _serialize_entity_sources(
|
||||
entity_infos: dict[str, dict[str, str]]
|
||||
entity_infos: dict[str, entity.EntityInfo]
|
||||
) -> dict[str, Any]:
|
||||
"""Prepare a websocket response from a dict of entity sources."""
|
||||
result = {}
|
||||
|
Reference in New Issue
Block a user