getReadableLockState

Gets the readable state of a lock based on its byte code. Each byte corresponds to a different state, such as open or closed.

Return

A string describing the lock's state or "UNKNOWN COMMAND" if the byte is unknown.

Parameters

this

The byte representing the lock's state.