Update custom_components/browser_mod/camera.py
This commit is contained in:
parent
8710bdc31d
commit
5258130946
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user