enum Matter::Cluster::Definitions::DoorLock::LockState

Overview

The value of the DoorLock lockState attribute

Defined in:

matter/cluster/definitions/door_lock.cr

Enum Members

NotFullyLocked = 0_u8

Lock state is not fully locked

Locked = 1_u8

Lock state is fully locked

Unlocked = 2_u8

Lock state is fully unlocked

Instance Method Summary

Instance Method Detail

def locked? #

Returns true if this enum value equals Locked


[View source]
def not_fully_locked? #

Returns true if this enum value equals NotFullyLocked


[View source]
def unlocked? #

Returns true if this enum value equals Unlocked


[View source]