Update custom_components/browser_mod/camera.py

This commit is contained in:
Kendell R 2020-10-08 06:38:13 -07:00 committed by Thomas Lovén
parent 8710bdc31d
commit 5258130946

View File

@ -21,7 +21,7 @@ class BrowserModCamera(Camera, BrowserModEntity):
self.last_seen = None
def updated(self):
if self.last_seen is not None and (datetime.now() - self.last_seen).seconds > 5:
if self.last_seen is not None and (datetime.now() - self.last_seen).seconds > 15:
self.last_seen = datetime.now()
self.schedule_update_ha_state()