From f14bdc6752fc4a0ab36567d0f1e51e472a2200b6 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Feb 2024 02:19:27 +0300 Subject: web_kbn: basic support of cams hls streaming --- include/py/homekit/util.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/py/homekit/util.py') diff --git a/include/py/homekit/util.py b/include/py/homekit/util.py index c686f29..4410251 100644 --- a/include/py/homekit/util.py +++ b/include/py/homekit/util.py @@ -121,6 +121,8 @@ def json_serial(obj): return obj.value if isinstance(obj, KeysView): return list(obj) + if isinstance(obj, Addr): + return str(obj) raise TypeError("Type %s not serializable" % type(obj)) -- cgit v1.2.3