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
CurrentVersion
Gets the current firmware version.
public string? CurrentVersion { get; }
Property Value
HardwareVersion
Gets the current hardware version.
public string? HardwareVersion { get; }
Property Value
IsAvailable
Gets a value indicating whether firmware metadata is currently available.
public bool IsAvailable { get; }
Property Value
State
Gets the latest normalized firmware state.
public FirmwareState? State { get; }
Property Value
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
cancellationTokenCancellationTokenThe cancellation token for the operation.
Returns
- Task
A task that completes when the device state has been refreshed.