Table of Contents

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

double?

MinimumComfortHumidity

Gets the minimum comfort humidity, when reported.

public double? MinimumComfortHumidity { get; }

Property Value

double?

State

Gets the latest typed humidity state for the child device.

public ChildHumiditySensorState? State { get; }

Property Value

ChildHumiditySensorState

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

cancellationToken CancellationToken

The cancellation token for the operation.

Returns

Task

A task that completes when the parent device state has been refreshed.