Enum LockState
- Namespace
- HaMqttDiscoverable.Entities
- Assembly
- HaMqttDiscoverable.dll
The possible states of a LockEntity, for use with PublishStateAsync(LockState, bool, CancellationToken).
public enum LockState
Fields
Jammed = 4Jammed.
Locked = 0Locked.
Locking = 2In the process of locking.
Open = 5Open (e.g. a latch).
Opening = 6In the process of opening.
Unlocked = 1Unlocked.
Unlocking = 3In the process of unlocking.