Don't poll the Samsung Family hub camera (#14473)

This commit is contained in:
Sebastian Muszynski 2018-05-15 08:50:07 +02:00 committed by Fabian Affolter
parent 710533ae8a
commit 16bf10b1a2

View File

@ -48,7 +48,7 @@ class FamilyHubCamera(Camera):
self._name = name
self.family_hub_cam = family_hub_cam
async def camera_image(self):
async def async_camera_image(self):
"""Return a still image response."""
return await self.family_hub_cam.async_get_cam_image()
@ -56,8 +56,3 @@ class FamilyHubCamera(Camera):
def name(self):
"""Return the name of this camera."""
return self._name
@property
def should_poll(self):
"""Camera should poll periodically."""
return True