Skip to content

Commit

Permalink
Don't poll the Samsung Family hub camera (#14473)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and fabaff committed May 15, 2018
1 parent 710533a commit 16bf10b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions homeassistant/components/camera/familyhub.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,11 @@ def __init__(self, name, family_hub_cam):
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()

@property
def name(self):
"""Return the name of this camera."""
return self._name

@property
def should_poll(self):
"""Camera should poll periodically."""
return True

0 comments on commit 16bf10b

Please sign in to comment.