ExtendedFanControlCommands

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

Known direct subclasses
ExtendedFanControl

API for the ExtendedFanControl trait.


Summary

Public functions

suspend Unit
extendedStep(
    fanSpeedRelativeWeight: Long,
    direction: ExtendedFanControlTrait.StepDirection
)

Set the relative speed.

BatchableCommand<Unit>
extendedStepBatchable(
    fanSpeedRelativeWeight: Long,
    direction: ExtendedFanControlTrait.StepDirection
)

The batchable version of extendedStep command.

suspend Unit

Reverse the current direction of the airflow.

BatchableCommand<Unit>

The batchable version of toggleAirflowDirection command.

Public functions

extendedStep

suspend fun extendedStep(
    fanSpeedRelativeWeight: Long,
    direction: ExtendedFanControlTrait.StepDirection
): Unit

Set the relative speed.

Parameters
fanSpeedRelativeWeight: Long

The relative amount of the speed change. The absolute value indicates the scaled amount while the numerical sign indicates the direction of the change.

direction: ExtendedFanControlTrait.StepDirection

The direction in which the speed should change.

extendedStepBatchable

fun extendedStepBatchable(
    fanSpeedRelativeWeight: Long,
    direction: ExtendedFanControlTrait.StepDirection
): BatchableCommand<Unit>

The batchable version of extendedStep command.

Set the relative speed.

Parameters
fanSpeedRelativeWeight: Long

The relative amount of the speed change. The absolute value indicates the scaled amount while the numerical sign indicates the direction of the change.

direction: ExtendedFanControlTrait.StepDirection

The direction in which the speed should change.

Returns
BatchableCommand<Unit>

BatchableCommand

toggleAirflowDirection

suspend fun toggleAirflowDirection(): Unit

Reverse the current direction of the airflow.

toggleAirflowDirectionBatchable

fun toggleAirflowDirectionBatchable(): BatchableCommand<Unit>

The batchable version of toggleAirflowDirection command.

Reverse the current direction of the airflow.

Returns
BatchableCommand<Unit>

BatchableCommand