mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Fix canary camera entity inheritance (#42691)
This commit is contained in:
parent
a93ae418a2
commit
769c5c1779
@ -78,6 +78,7 @@ class CanaryCamera(CoordinatorEntity, Camera):
|
|||||||
def __init__(self, hass, coordinator, location_id, device, timeout, ffmpeg_args):
|
def __init__(self, hass, coordinator, location_id, device, timeout, ffmpeg_args):
|
||||||
"""Initialize a Canary security camera."""
|
"""Initialize a Canary security camera."""
|
||||||
super().__init__(coordinator)
|
super().__init__(coordinator)
|
||||||
|
Camera.__init__(self)
|
||||||
self._ffmpeg = hass.data[DATA_FFMPEG]
|
self._ffmpeg = hass.data[DATA_FFMPEG]
|
||||||
self._ffmpeg_arguments = ffmpeg_args
|
self._ffmpeg_arguments = ffmpeg_args
|
||||||
self._location_id = location_id
|
self._location_id = location_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user