1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
This commit is contained in:
Paulus Schoutsen
2019-07-10 20:40:44 -07:00
parent c80683bb15
commit cde3f670c2

View File

@@ -203,7 +203,7 @@ def _encode_complex(value):
_encode(key): _encode_complex(value)
for key, value in value.items()
}
elif isinstance(value, list):
if isinstance(value, list):
return [_encode_complex(val) for val in value]
new_value = _encode(value)