FanControlCommands

interface FanControlCommands

Known direct subclasses
FanControl

API for the FanControl trait.


Summary

Public functions

suspend Unit

Speed up or slow down the fan, in steps, without the client having to know the fan speed.

Public functions

step

suspend fun step(
    direction: FanControlTrait.StepDirectionEnum,
    optionalArgs: FanControlTrait.StepCommand.OptionalArgs.() -> Unit = {}
): Unit

Speed up or slow down the fan, in steps, without the client having to know the fan speed.

Parameters
direction: FanControlTrait.StepDirectionEnum

Whether the fan speed increases or decreases to the next step value. Valid directions are defined in StepDirectionEnum.

optionalArgs: FanControlTrait.StepCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command