Table of Contents

Class AlarmState

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Represents normalized alarm state for devices such as hubs and chimes.

public sealed class AlarmState
Inheritance
AlarmState
Inherited Members

Properties

DurationSeconds

Gets the configured alarm duration in seconds, when reported.

public int? DurationSeconds { get; }

Property Value

int?

IsActive

Gets whether the alarm is currently active.

public bool? IsActive { get; }

Property Value

bool?

RawJson

Gets the raw JSON payload returned by the device.

public string RawJson { get; }

Property Value

string

Sound

Gets the selected alarm sound, when reported.

public string? Sound { get; }

Property Value

string

Source

Gets the alarm source, when reported.

public string? Source { get; }

Property Value

string

Volume

Gets the selected alarm volume label, when reported.

public string? Volume { get; }

Property Value

string

VolumeLevel

Gets the selected alarm volume level, when reported.

public int? VolumeLevel { get; }

Property Value

int?