Skip to content

ThinkingHome.DeviceModel

ThinkingHome.DeviceModel.Capabilities

ThermostatModeCapability Class

Режим работы термостата/кондиционера (выбор из набора). Matter cluster Thermostat (0x0201), атрибут SystemMode. Instance — "thermostat_mode".

csharp
public sealed record ThermostatModeCapability : ThinkingHome.DeviceModel.Capabilities.Capability, System.IEquatable<ThinkingHome.DeviceModel.Capabilities.ThermostatModeCapability>

Inheritance System.ObjectCapability → ThermostatModeCapability

Implements System.IEquatable<ThermostatModeCapability>

Fields

ThermostatModeCapability.InstanceName Field

Канонический instance.

csharp
public const string InstanceName = "thermostat_mode";

Field Value

System.String

Properties

ThermostatModeCapability.Modes Property

Поддерживаемые устройством режимы.

csharp
public System.Collections.Generic.IReadOnlyList<ThinkingHome.DeviceModel.ThermostatMode> Modes { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<ThermostatMode>

Опубликовано под лицензией MIT