mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Code styling tweaks to core utils & YAML loader (#85433)
Code styling tweaks to core utils
This commit is contained in:
@@ -124,7 +124,8 @@ def find_paths_unserializable_data(
|
||||
except (ValueError, TypeError):
|
||||
pass
|
||||
|
||||
# We convert objects with as_dict to their dict values so we can find bad data inside it
|
||||
# We convert objects with as_dict to their dict values
|
||||
# so we can find bad data inside it
|
||||
if hasattr(obj, "as_dict"):
|
||||
desc = obj.__class__.__name__
|
||||
if isinstance(obj, State):
|
||||
|
||||
Reference in New Issue
Block a user