From e9073779b99a4c919eae49bf6afba56d9fff5ec5 Mon Sep 17 00:00:00 2001 From: Kevin David Date: Sat, 18 Dec 2021 20:08:36 -0500 Subject: [PATCH] Fix integration for HA versions 2021.12.0 or later As reported in #38, this simple fix should address this problem - and it did for me as well. I assume this will not cause problems for folks who use the integration with earlier versions, but it'd be great if someone could check my assumption there! --- custom_components/kuna/camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/kuna/camera.py b/custom_components/kuna/camera.py index c33746f..b42fd0b 100644 --- a/custom_components/kuna/camera.py +++ b/custom_components/kuna/camera.py @@ -97,7 +97,7 @@ def device_state_attributes(self): def update(self): """Fetch state data from the updated account camera dict.""" - self.is_streaming = True + self._is_streaming = True try: self._camera = self._account.account.cameras[self._original_id] except KeyError: