Table of Contents

Class RuleModuleState

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Represents normalized rule-related state for Kasa local devices.

public sealed class RuleModuleState
Inheritance
RuleModuleState
Inherited Members

Properties

AntitheftRules

Gets the configured antitheft rules.

public IReadOnlyList<ScheduledRule> AntitheftRules { get; }

Property Value

IReadOnlyList<ScheduledRule>

Countdown

Gets the current countdown timer state, when reported.

public CountdownRuleState? Countdown { get; }

Property Value

CountdownRuleState

RawJson

Gets the raw JSON payload returned by the device.

public string RawJson { get; }

Property Value

string

Schedules

Gets the configured schedule rules.

public IReadOnlyList<ScheduledRule> Schedules { get; }

Property Value

IReadOnlyList<ScheduledRule>