Table of Contents

Class ChildThermostatModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides aggregated thermostat information for a child thermostat device.

public sealed class ChildThermostatModule
Inheritance
ChildThermostatModule
Inherited Members

Properties

CurrentTemperature

Gets the current measured temperature, when reported.

public double? CurrentTemperature { get; }

Property Value

double?

Enabled

Gets whether the thermostat is enabled.

public bool? Enabled { get; }

Property Value

bool?

State

Gets the latest typed thermostat state for the child device.

public ChildThermostatState? State { get; }

Property Value

ChildThermostatState

States

Gets the raw TRV state flags reported by the device.

public IReadOnlyList<string> States { get; }

Property Value

IReadOnlyList<string>

TargetTemperature

Gets the target temperature, when reported.

public double? TargetTemperature { get; }

Property Value

double?

Unit

Gets the reported temperature unit.

public string? Unit { get; }

Property Value

string

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.