Class AutoOffState
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Represents normalized auto-off configuration and timer state.
public sealed class AutoOffState
- Inheritance
-
AutoOffState
- Inherited Members
Properties
AutoOffAt
Gets the local time when the device is expected to turn off automatically, when known.
public DateTime? AutoOffAt { get; }
Property Value
DelayMinutes
Gets the configured auto-off delay in minutes, when reported.
public int? DelayMinutes { get; }
Property Value
- int?
Enabled
Gets whether auto-off is enabled.
public bool? Enabled { get; }
Property Value
- bool?
RawJson
Gets the raw JSON payload returned by the device.
public string RawJson { get; }
Property Value
TimerActive
Gets whether an auto-off timer is currently active, when reported.
public bool? TimerActive { get; }
Property Value
- bool?