Improve amcrest error handling (#9554)

* Improve amcrest error handling

Add max_errors and recheck_interval configuration variables.

* Update per code changes
This commit is contained in:
Phil Bruckner 2019-06-18 05:57:49 -05:00 committed by Franck Nijhof
parent 9bb32b6528
commit f6bb628e3d

View File

@ -117,6 +117,8 @@ binary_sensors:
keys: keys:
motion_detected: motion_detected:
description: "Return `on` when a motion is detected, `off` when not." 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: sensors:
description: > description: >
Conditions to display in the frontend. Conditions to display in the frontend.
@ -240,6 +242,7 @@ amcrest:
password: YOUR_PASSWORD password: YOUR_PASSWORD
binary_sensors: binary_sensors:
- motion_detected - motion_detected
- online
sensors: sensors:
- sdcard - sdcard