mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Add support for LockStatus.JAMMED to yalexs_ble (#157551)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
co-authored by
J. Nick Koston
parent
ea3f76c315
commit
319d6711c4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user