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
Sound
Gets the selected alarm sound, when reported.
public string? Sound { get; }
Property Value
Source
Gets the alarm source, when reported.
public string? Source { get; }
Property Value
Volume
Gets the selected alarm volume label, when reported.
public string? Volume { get; }
Property Value
VolumeLevel
Gets the selected alarm volume level, when reported.
public int? VolumeLevel { get; }
Property Value
- int?