Add Switch platform for motion detection in Blink (#102789)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
mkmer
2023-11-24 11:02:19 -05:00
committed by GitHub
parent a1701f0c56
commit 512902fc59
5 changed files with 108 additions and 0 deletions

View File

@@ -32,9 +32,11 @@ BINARY_SENSORS_TYPES: tuple[BinarySensorEntityDescription, ...] = (
device_class=BinarySensorDeviceClass.BATTERY,
entity_category=EntityCategory.DIAGNOSTIC,
),
# Camera Armed sensor is depreciated covered by switch and will be removed in 2023.6.
BinarySensorEntityDescription(
key=TYPE_CAMERA_ARMED,
translation_key="camera_armed",
entity_registry_enabled_default=False,
),
BinarySensorEntityDescription(
key=TYPE_MOTION_DETECTED,