From fc5d9fa321f3322e9abae1d59fc1e5518eb5d3f4 Mon Sep 17 00:00:00 2001 From: Felix Steghofer Date: Wed, 13 Feb 2019 12:28:48 +0100 Subject: [PATCH] Adopt Home Assistant changes; fixes #3 --- custom_components/camera/shinobi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/camera/shinobi.py b/custom_components/camera/shinobi.py index 059644c..57a9e61 100644 --- a/custom_components/camera/shinobi.py +++ b/custom_components/camera/shinobi.py @@ -71,7 +71,7 @@ class ShinobiCamera(MjpegCamera): def __init__(self, hass, shinobi, device_info, monitor): """Initialize as a subclass of MjpegCamera.""" - super().__init__(hass, device_info) + super().__init__(device_info) self.shinobi = shinobi self._monitor_id = monitor['mid'] self._is_recording = None @@ -97,4 +97,4 @@ class ShinobiCamera(MjpegCamera): def is_recording(self): """Return whether the monitor is in recording mode.""" return self._is_recording - \ No newline at end of file +