Table of Contents

Class AlarmState

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

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

public sealed record AlarmState : IEquatable<AlarmState>
Inheritance
AlarmState
Implements
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?

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?