Fix switchbot binary sensor translation key (#92557)

This commit is contained in:
ollo69 2023-05-05 15:04:11 +02:00 committed by GitHub
parent b222c58642
commit 8001ed865d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
),