Table of Contents

Class ChildTemperatureSensorModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides typed temperature information for a child sensor device.

public sealed class ChildTemperatureSensorModule
Inheritance
ChildTemperatureSensorModule
Inherited Members

Properties

MaximumComfortTemperature

Gets the maximum comfort temperature, when reported.

public double? MaximumComfortTemperature { get; }

Property Value

double?

MinimumComfortTemperature

Gets the minimum comfort temperature, when reported.

public double? MinimumComfortTemperature { get; }

Property Value

double?

State

Gets the latest typed temperature state for the child device.

public ChildTemperatureSensorState? State { get; }

Property Value

ChildTemperatureSensorState

Temperature

Gets the latest reported temperature value.

public double? Temperature { get; }

Property Value

double?

Unit

Gets the reported temperature unit.

public string? Unit { get; }

Property Value

string

Warning

Gets whether the child device reports a temperature 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.