Table of Contents

Class FanModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides module-style access to fan state.

public sealed class FanModule
Inheritance
FanModule
Inherited Members

Properties

IsAvailable

Gets a value indicating whether fan state is currently available.

public bool IsAvailable { get; }

Property Value

bool

IsOn

Gets whether the fan is on.

public bool? IsOn { get; }

Property Value

bool?

State

Gets the latest fan state.

public FanState? State { get; }

Property Value

FanState

Methods

UpdateAsync(CancellationToken)

Refreshes fan state.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task