From f6bb628e3d6766051848554ec3319659ec58bdeb Mon Sep 17 00:00:00 2001 From: Phil Bruckner Date: Tue, 18 Jun 2019 05:57:49 -0500 Subject: [PATCH] Improve amcrest error handling (#9554) * Improve amcrest error handling Add max_errors and recheck_interval configuration variables. * Update per code changes --- source/_components/amcrest.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_components/amcrest.markdown b/source/_components/amcrest.markdown index 841920a0f9a..f2e5890f3f3 100644 --- a/source/_components/amcrest.markdown +++ b/source/_components/amcrest.markdown @@ -117,6 +117,8 @@ binary_sensors: keys: motion_detected: description: "Return `on` when a motion is detected, `off` when not." + online: + description: "Return `on` when camera is available (i.e., responding to commands), `off` when not." sensors: description: > Conditions to display in the frontend. @@ -240,6 +242,7 @@ amcrest: password: YOUR_PASSWORD binary_sensors: - motion_detected + - online sensors: - sdcard