mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Fix canary camera entity inheritance (#42691)
This commit is contained in:
parent
8fabb99b2e
commit
2762b582af
@ -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