RefrigeratorAndTemperatureControlledCabinetModeCommands

interface RefrigeratorAndTemperatureControlledCabinetModeCommands

Known direct subclasses
RefrigeratorAndTemperatureControlledCabinetMode

API for the RefrigeratorAndTemperatureControlledCabinetMode trait.


Summary

Public functions

changeToMode

suspend fun changeToMode(newMode: UByte): RefrigeratorAndTemperatureControlledCabinetModeTrait.ChangeToModeCommand.Response

Change device modes.

Parameters
newMode: UByte

The mode to change to. This must be one of the supportedModes.

Returns
RefrigeratorAndTemperatureControlledCabinetModeTrait.ChangeToModeCommand.Response

The result of the completed ChangeToMode command.