mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Avoid json encoder default fallback when serializing config (#108360)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
@@ -1622,11 +1622,11 @@ async def test_config_as_dict() -> None:
|
||||
CONF_UNIT_SYSTEM: METRIC_SYSTEM.as_dict(),
|
||||
"location_name": "Home",
|
||||
"time_zone": "UTC",
|
||||
"components": set(),
|
||||
"components": [],
|
||||
"config_dir": "/test/ha-config",
|
||||
"whitelist_external_dirs": set(),
|
||||
"allowlist_external_dirs": set(),
|
||||
"allowlist_external_urls": set(),
|
||||
"whitelist_external_dirs": [],
|
||||
"allowlist_external_dirs": [],
|
||||
"allowlist_external_urls": [],
|
||||
"version": __version__,
|
||||
"config_source": ha.ConfigSource.DEFAULT,
|
||||
"recovery_mode": False,
|
||||
|
||||
Reference in New Issue
Block a user