Add support for LockStatus.JAMMED to yalexs_ble (#157551)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Philip Cheong
2025-12-06 20:17:09 +01:00
committed by GitHub
parent ea3f76c315
commit 319d6711c4

View File

@@ -52,6 +52,7 @@ class YaleXSBLEBaseLock(YALEXSBLEEntity, LockEntity):
elif lock_state in (
LockStatus.UNKNOWN_01,
LockStatus.UNKNOWN_06,
LockStatus.JAMMED,
):
self._attr_is_jammed = True
elif lock_state is LockStatus.UNKNOWN: