Skip to content

Commit

Permalink
Fix integration for HA versions 2021.12.0 or later
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
kevin-david committed Dec 19, 2021
1 parent 3f5bd8a commit e907377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/kuna/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e907377

Please sign in to comment.