Table of Contents

Class FirmwareModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides module-style access to firmware metadata.

public sealed class FirmwareModule
Inheritance
FirmwareModule
Inherited Members

Properties

AutoUpdateEnabled

Gets whether automatic firmware updates are enabled.

public bool? AutoUpdateEnabled { get; }

Property Value

bool?

AvailableVersion

Gets the available firmware version, when known.

public string? AvailableVersion { get; }

Property Value

string

CurrentVersion

Gets the current firmware version.

public string? CurrentVersion { get; }

Property Value

string

HardwareVersion

Gets the current hardware version.

public string? HardwareVersion { get; }

Property Value

string

IsAvailable

Gets a value indicating whether firmware metadata is currently available.

public bool IsAvailable { get; }

Property Value

bool

State

Gets the latest normalized firmware state.

public FirmwareState? State { get; }

Property Value

FirmwareState

UpdateAvailable

Gets whether a newer firmware version is available, when known.

public bool? UpdateAvailable { get; }

Property Value

bool?

Methods

UpdateAsync(CancellationToken)

Refreshes firmware-related state.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token for the operation.

Returns

Task

A task that completes when the device state has been refreshed.