getModeState property

AvailableThermostatMode get getModeState

Implementation

AvailableThermostatMode get getModeState {
  return getThermostatTrait()?.stateWhereType<ThermostatMode>()?.value ??
      AvailableThermostatMode.OFF;
}