Table of Contents

Class LightTransitionModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides module-style access to light transition configuration.

public sealed class LightTransitionModule
Inheritance
LightTransitionModule
Inherited Members

Properties

IsAvailable

Gets a value indicating whether transition configuration is currently available.

public bool IsAvailable { get; }

Property Value

bool

State

Gets the latest light transition module state.

public LightTransitionState? State { get; }

Property Value

LightTransitionState

TransitionOffSeconds

Gets the transition-off duration in seconds.

public int? TransitionOffSeconds { get; }

Property Value

int?

TransitionOnSeconds

Gets the transition-on duration in seconds.

public int? TransitionOnSeconds { get; }

Property Value

int?

Methods

UpdateAsync(CancellationToken)

Refreshes light transition state.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task