Class ChildHumiditySensorModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides typed humidity information for a child sensor device.
public sealed class ChildHumiditySensorModule
- Inheritance
-
ChildHumiditySensorModule
- Inherited Members
Properties
Humidity
Gets the latest reported humidity percentage.
public int? Humidity { get; }
Property Value
- int?
MaximumComfortHumidity
Gets the maximum comfort humidity, when reported.
public double? MaximumComfortHumidity { get; }
Property Value
MinimumComfortHumidity
Gets the minimum comfort humidity, when reported.
public double? MinimumComfortHumidity { get; }
Property Value
State
Gets the latest typed humidity state for the child device.
public ChildHumiditySensorState? State { get; }
Property Value
Warning
Gets whether the child device reports a humidity warning.
public bool? Warning { get; }
Property Value
- bool?
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.