Fix polling on online Amcrest binary sensor (#56106)

pull/56167/head
Sean Vig 2021-09-12 23:45:52 -04:00 committed by GitHub
parent 32212651fe
commit a180c3f813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ BINARY_SENSORS: tuple[AmcrestSensorEntityDescription, ...] = (
key=_ONLINE_KEY,
name="Online",
device_class=DEVICE_CLASS_CONNECTIVITY,
should_poll=True,
),
)
BINARY_SENSOR_KEYS = [description.key for description in BINARY_SENSORS]