Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Set motion detection availability
Browse files Browse the repository at this point in the history
  • Loading branch information
fwestenberg authored Feb 16, 2021
1 parent c63f686 commit 7c4257c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/reolink_dev/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ async def renew(self):
await self._sman.subscribe(self._webhook_url)
else:
await self.set_available(True)
else:
await self.set_available(True)

This comment has been minimized.

Copy link
@sohaibmaroof

sohaibmaroof Feb 17, 2021

I have just installed this adon and all I am seeing is motion sensor not available
image
My HA is accessible from HTTP as well


async def set_available(self, available: bool):
"""Set the availability state to the base object."""
Expand Down

0 comments on commit 7c4257c

Please sign in to comment.