Skip to content

Commit

Permalink
Add: Play stream service
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Oct 6, 2020
1 parent 7229784 commit 6d2fbf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/tapo_control/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ async def async_update(self):
camData = await getCamData(self.hass, self._controller)
self.updateCam(camData)

async def stream_source(self):
return self.getStreamSource()

def updateCam(self, camData):
self._state = "idle"
self._motion_detection_enabled = camData['motion_detection_enabled']
Expand Down

0 comments on commit 6d2fbf8

Please sign in to comment.