enum

Matter::Cluster::Definitions::DoorLock::DoorState

Inherits Enum < Comparable < Value < Object

The DoorState enumeration shall indicate the current door state. The data type of the DoorState

enum field is derived from enum8.

Constants

DoorOpen = 0_u8

Door state is open

DoorClosed = 1_u8

Door state is closed

DoorJammed = 2_u8

Door state is jammed

DoorForcedOpen = 3_u8

Door state is currently forced open

DoorUnspecifiedError = 4_u8

Door state is invalid for unspecified reason

DoorAjar = 5_u8

Door state is ajar

Instance methods

door_ajar?

Returns true if this enum value equals DoorAjar

Source
door_closed?

Returns true if this enum value equals DoorClosed

Source
door_forced_open?

Returns true if this enum value equals DoorForcedOpen

Source
door_jammed?

Returns true if this enum value equals DoorJammed

Source
door_open?

Returns true if this enum value equals DoorOpen

Source
door_unspecified_error?

Returns true if this enum value equals DoorUnspecifiedError

Source