mirror of
https://github.com/home-assistant/core.git
synced 2026-04-20 16:39:02 +02:00
Add support for LockStatus.JAMMED to yalexs_ble (#157551)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -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