kotlin-homie / org.homieiot / Device / State

State

enum class State

The current state of the device.

Enum Values

READY

This is the state the device is in when it is ready to operate.

DISCONNECTED

This is the state the device is in when it is disconnected.

SLEEPING

This is the state the device is in when the device is sleeping.

ALERT

This is the state the device is when connected, but something wrong is happening. E.g. a sensor is not providing data and needs human intervention.