Table of Contents

Class LedState

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Represents normalized LED status and mode information.

public sealed class LedState
Inheritance
LedState
Inherited Members

Properties

Enabled

Gets whether the device LED is enabled.

public bool? Enabled { get; }

Property Value

bool?

Mode

Gets the LED mode string, when reported.

public string? Mode { get; }

Property Value

string

NightModeSettings

Gets the LED night-mode settings, when reported.

public LedNightModeSettings? NightModeSettings { get; }

Property Value

LedNightModeSettings

RawJson

Gets the raw JSON payload returned by the device.

public string RawJson { get; }

Property Value

string