mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 21:06:28 +00:00
Add EntityFeature enum to Lock (#1273)
This commit is contained in:
parent
bf8481a498
commit
c0d6b596c1
@ -20,13 +20,14 @@ Properties should always only return information from memory and not do I/O (lik
|
|||||||
| is_unlocking | bool | None | Indication of whether the lock is currently unlocking. Used to determine `state`.
|
| is_unlocking | bool | None | Indication of whether the lock is currently unlocking. Used to determine `state`.
|
||||||
| is_jammed | bool | None | Indication of whether the lock is currently jammed. Used to determine `state`.
|
| is_jammed | bool | None | Indication of whether the lock is currently jammed. Used to determine `state`.
|
||||||
|
|
||||||
### Supported Features
|
## Supported Features
|
||||||
|
|
||||||
Supported features constants are combined using the bitwise or (`|`) operator.
|
Supported features are defined by using values in the `LockEntityFeature` enum
|
||||||
|
and are combined using the bitwise or (`|`) operator.
|
||||||
|
|
||||||
| Constant | Description |
|
| Value | Description |
|
||||||
|----------|--------------------------------------|
|
| ------ | ------------------------------------------ |
|
||||||
| `SUPPORT_OPEN` | This lock supports opening the door latch.
|
| `OPEN` | This lock supports opening the door latch. |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user