From 8001ed865d5a1cb763bf4bf4157e9423a325d4df Mon Sep 17 00:00:00 2001 From: ollo69 <60491700+ollo69@users.noreply.github.com> Date: Fri, 5 May 2023 15:04:11 +0200 Subject: [PATCH] Fix switchbot binary sensor translation key (#92557) --- homeassistant/components/switchbot/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switchbot/binary_sensor.py b/homeassistant/components/switchbot/binary_sensor.py index 00b22d9428c..0a0cf40ca8b 100644 --- a/homeassistant/components/switchbot/binary_sensor.py +++ b/homeassistant/components/switchbot/binary_sensor.py @@ -57,7 +57,7 @@ BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = { ), "unlocked_alarm": BinarySensorEntityDescription( key="unlocked_alarm", - translation_key="door_unclosed_alarm", + translation_key="door_unlocked_alarm", entity_category=EntityCategory.DIAGNOSTIC, device_class=BinarySensorDeviceClass.PROBLEM, ),