Skip to content

Commit

Permalink
add notification property (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
brg468 authored Mar 29, 2022
1 parent 0199c99 commit 9c269f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wyzeapy/services/camera_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ async def update(self, camera: Camera):
camera.siren = value == "1"
if property is PropertyIDs.FLOOD_LIGHT:
camera.floodlight = value == "1"

if property is PropertyIDs.NOTIFICATION:
camera.notify = value == "1"

return camera

async def register_for_updates(self, camera: Camera, callback: Callable[[Camera], None]):
Expand Down

0 comments on commit 9c269f4

Please sign in to comment.