From e4bd53b39510062b6b340435cd2614bcfa80c158 Mon Sep 17 00:00:00 2001 From: Christopher Bailey <cbailey@mort.is> Date: Wed, 29 Jun 2022 18:52:54 -0400 Subject: [PATCH] Fix duplicate key for motion sensor for UniFi Protect (#74202) --- homeassistant/components/unifiprotect/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/unifiprotect/binary_sensor.py b/homeassistant/components/unifiprotect/binary_sensor.py index d3bf71a4274..62a4893692b 100644 --- a/homeassistant/components/unifiprotect/binary_sensor.py +++ b/homeassistant/components/unifiprotect/binary_sensor.py @@ -150,7 +150,7 @@ CAMERA_SENSORS: tuple[ProtectBinaryEntityDescription, ...] = ( ufp_perm=PermRequired.NO_WRITE, ), ProtectBinaryEntityDescription( - key="motion", + key="motion_enabled", name="Detections: Motion", icon="mdi:run-fast", ufp_value="recording_settings.enable_motion_detection", -- GitLab