Class ChildFrostProtectionModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides typed frost-protection information for a child thermostat device.
public sealed class ChildFrostProtectionModule
- Inheritance
-
ChildFrostProtectionModule
- Inherited Members
Properties
Enabled
Gets whether frost protection is enabled.
public bool? Enabled { get; }
Property Value
- bool?
MinimumTemperature
Gets the minimum frost-protection temperature, when reported.
public int? MinimumTemperature { get; }
Property Value
- int?
State
Gets the latest typed frost-protection state for the child device.
public ChildFrostProtectionState? State { get; }
Property Value
Unit
Gets the reported temperature unit.
public string? Unit { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes the parent device state and child module data.
public Task UpdateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token for the operation.
Returns
- Task
A task that completes when the parent device state has been refreshed.