mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Don't poll the Samsung Family hub camera (#14473)
This commit is contained in:
parent
710533ae8a
commit
16bf10b1a2
@ -48,7 +48,7 @@ class FamilyHubCamera(Camera):
|
|||||||
self._name = name
|
self._name = name
|
||||||
self.family_hub_cam = family_hub_cam
|
self.family_hub_cam = family_hub_cam
|
||||||
|
|
||||||
async def camera_image(self):
|
async def async_camera_image(self):
|
||||||
"""Return a still image response."""
|
"""Return a still image response."""
|
||||||
return await self.family_hub_cam.async_get_cam_image()
|
return await self.family_hub_cam.async_get_cam_image()
|
||||||
|
|
||||||
@ -56,8 +56,3 @@ class FamilyHubCamera(Camera):
|
|||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of this camera."""
|
"""Return the name of this camera."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
|
||||||
def should_poll(self):
|
|
||||||
"""Camera should poll periodically."""
|
|
||||||
return True
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user