mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix for None object access attempt (#11748)
* Fix NoneType access error * Update lib dependencies * Fix for line length
This commit is contained in:
parent
33fd9c7c8f
commit
7617b8af52
@ -75,7 +75,9 @@ class ArloCam(Camera):
|
|||||||
self._ffmpeg = hass.data[DATA_FFMPEG]
|
self._ffmpeg = hass.data[DATA_FFMPEG]
|
||||||
self._ffmpeg_arguments = device_info.get(CONF_FFMPEG_ARGUMENTS)
|
self._ffmpeg_arguments = device_info.get(CONF_FFMPEG_ARGUMENTS)
|
||||||
self._last_refresh = None
|
self._last_refresh = None
|
||||||
self._camera.base_station.refresh_rate = SCAN_INTERVAL.total_seconds()
|
if self._camera.base_station:
|
||||||
|
self._camera.base_station.refresh_rate = \
|
||||||
|
SCAN_INTERVAL.total_seconds()
|
||||||
self.attrs = {}
|
self.attrs = {}
|
||||||
|
|
||||||
def camera_image(self):
|
def camera_image(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user