From ac11a9b7ff3c8b62e648d351a2b63125f71fad1d Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Sat, 12 Feb 2022 23:08:23 +0100 Subject: [PATCH] Revert Amcrest change (#66412) --- homeassistant/components/amcrest/binary_sensor.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 697dc0cf4c4..e583aad904b 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -65,10 +65,6 @@ _MOTION_DETECTED_EVENT_CODE = "VideoMotion" _ONLINE_KEY = "online" -_DOORBELL_KEY = "doorbell" -_DOORBELL_NAME = "Doorbell Button" -_DOORBELL_EVENT_CODE = "CallNoAnswered" - BINARY_SENSORS: tuple[AmcrestSensorEntityDescription, ...] = ( AmcrestSensorEntityDescription( key=_AUDIO_DETECTED_KEY, @@ -115,12 +111,6 @@ BINARY_SENSORS: tuple[AmcrestSensorEntityDescription, ...] = ( device_class=BinarySensorDeviceClass.CONNECTIVITY, should_poll=True, ), - AmcrestSensorEntityDescription( - key=_DOORBELL_KEY, - name=_DOORBELL_NAME, - device_class=BinarySensorDeviceClass.OCCUPANCY, - event_code=_DOORBELL_EVENT_CODE, - ), ) BINARY_SENSOR_KEYS = [description.key for description in BINARY_SENSORS] _EXCLUSIVE_OPTIONS = [