Class AutoOffState
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Represents normalized auto-off configuration and timer state.
public sealed record AutoOffState : IEquatable<AutoOffState>
- Inheritance
-
AutoOffState
- Implements
- 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?
TimerActive
Gets whether an auto-off timer is currently active, when reported.
public bool? TimerActive { get; }
Property Value
- bool?