Browser state sensors and Visit device for FKB

This commit is contained in:
2022-07-14 23:06:04 +00:00
parent 1109980d61
commit a46d2b3cb0
8 changed files with 126 additions and 79 deletions

View File

@@ -35,6 +35,5 @@ class BrowserModCamera(BrowserModEntity, Camera):
def camera_image(self, width=None, height=None):
if "camera" not in self._data:
LOGGER.error(self._data)
return None
return base64.b64decode(self._data["camera"].split(",")[-1])