Class LightEffectState
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Represents a normalized lighting effect state.
public sealed class LightEffectState
- Inheritance
-
LightEffectState
- Inherited Members
Properties
AvailableEffects
Gets the available effect definitions reported by the device.
public IReadOnlyList<LightEffectDefinition> AvailableEffects { get; }
Property Value
Brightness
Gets the effect brightness when the device reports one.
public int? Brightness { get; }
Property Value
- int?
Identifier
Gets the device-specific effect identifier.
public string? Identifier { get; }
Property Value
IsEnabled
Gets a value indicating whether the effect is currently enabled.
public bool? IsEnabled { get; }
Property Value
- bool?
Name
Gets the user-visible effect name, when available.
public string? Name { get; }
Property Value
RawJson
Gets the raw JSON payload returned by the device for the effect state.
public string RawJson { get; }