TemperatureControlCommands

@Generated(value = ["GoogleHomePlatformCodegen"])
interface TemperatureControlCommands

Known direct subclasses
TemperatureControl

API for the TemperatureControl trait.


Summary

Public functions

suspend Unit

Set the desired temperature.

BatchableCommand<Unit>

The batchable version of setTemperature command.

Public functions

setTemperature

suspend fun setTemperature(optionalArgs: TemperatureControlTrait.SetTemperatureCommand.OptionalArgs.() -> Unit = {}): Unit

Set the desired temperature.

Parameters
optionalArgs: TemperatureControlTrait.SetTemperatureCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

setTemperatureBatchable

fun setTemperatureBatchable(optionalArgs: TemperatureControlTrait.SetTemperatureCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<Unit>

The batchable version of setTemperature command.

Set the desired temperature.

Parameters
optionalArgs: TemperatureControlTrait.SetTemperatureCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
BatchableCommand<Unit>

BatchableCommand