From 15c4f3906be201c0906109f6fc3c6bfeab83cc23 Mon Sep 17 00:00:00 2001 From: yeahme49 <58564160+yeahme49@users.noreply.github.com> Date: Wed, 27 Oct 2021 13:24:55 -0500 Subject: [PATCH] Blink arm camera (#56474) --- homeassistant/components/blink/camera.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 8b4f1ba4eec..9a617bbc781 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -46,16 +46,18 @@ class BlinkCamera(Camera): def enable_motion_detection(self): """Enable motion detection for the camera.""" - self._camera.set_motion_detect(True) + self._camera.arm = True + self.data.refresh() def disable_motion_detection(self): """Disable motion detection for the camera.""" - self._camera.set_motion_detect(False) + self._camera.arm = False + self.data.refresh() @property def motion_detection_enabled(self): """Return the state of the camera.""" - return self._camera.motion_enabled + return self._camera.arm @property def brand(self):