Fix Logi Circle cameras not responding to turn on/off commands (#27317)

pull/27335/head
Evan Bruhn 2019-10-09 03:31:52 +11:00 committed by Paulus Schoutsen
parent 13956d3516
commit 15c54f34df
1 changed files with 2 additions and 2 deletions

View File

@ -148,11 +148,11 @@ class LogiCam(Camera):
async def async_turn_off(self):
"""Disable streaming mode for this camera."""
await self._camera.set_streaming_mode(False)
await self._camera.set_config("streaming", False)
async def async_turn_on(self):
"""Enable streaming mode for this camera."""
await self._camera.set_streaming_mode(True)
await self._camera.set_config("streaming", True)
@property
def should_poll(self):