mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Avoid json default fallback for area registry (#108358)
This commit is contained in:
parent
3f5f1bc2f6
commit
78d7562b41
@ -131,7 +131,7 @@ def websocket_update_area(
|
||||
def _entry_dict(entry: AreaEntry) -> dict[str, Any]:
|
||||
"""Convert entry to API format."""
|
||||
return {
|
||||
"aliases": entry.aliases,
|
||||
"aliases": list(entry.aliases),
|
||||
"area_id": entry.id,
|
||||
"name": entry.name,
|
||||
"picture": entry.picture,
|
||||
|
Loading…
x
Reference in New Issue
Block a user