Builds the facade over a registry entity. Only the device's IDENTITY is captured — the entity itself is resolved per access.
API surface the facade calls through.
Registry entity to wrap.
ReadonlyidWire did of the wrapped device.
ReadonlyproductProduct generation of the wrapped device.
The comfort target temperature, clamped to the wire's accepted range.
The setpoint in °C.
The measured ambient temperature.
The reading in °C.
When the running derogation ends, or null when none is running.
The derogation end date, or null.
The running derogation's end, formatted for display in the
configured locale — time-of-day for boost and presence, day +
month + time for vacation. null when no derogation is running,
when its code is one this SDK does not model, or when it was
already running at first sight: the wire carries no start
timestamp, so the end is only derived when a change is observed
(see Device.derogationEndDate).
The formatted end label, or null.
The running derogation mode.
The wire derog_mode value, or null for a code the wire
allows but this SDK does not model (4 and 5 on the Pro and the Glow
family).
The derogation duration — minutes for boost, days for vacation.
The wire derog_time value.
The eco target temperature, clamped to the wire's accepted range.
The setpoint in °C.
Whether the underlying device still exists in the registry.
Non-throwing introspection: answers false instead of throwing
EntityNotFoundError when the registry no longer holds the
id. For consumers that keep a cached facade reference and want to
detect staleness without a try/catch.
true when the device is still resolvable.
Whether the physical controls are locked.
true when the child lock is on.
Whether the device is heating (mode is not stop).
true while any heating mode is active.
Whether the on-device program timer is running.
true when the timer is on.
The user-facing device name, tracking renames across syncs.
The wire dev_alias value.
The sensor calibration register. On the Pro it reads 0–100 in
tenths of a degree centred on 50 (no change); the Glow family
declares it over 0–255 with no documented scale, so the raw value
is answered as is (TemperatureCompensation names the Pro's
anchors).
The wire com_temp value.
Notify the API's onSyncComplete observer, scoped to this device.
Invoked by the @syncDevices() decorator after each decorated
mutation or read.
Send a control payload, merge the echo into the in-memory model, and notify sync observers.
Writable attributes EVERY product accepts.
DeviceProFacade widens this to its own presence derogation.
The echoed attribute payload.
Merge a partial attribute payload into the registry entity.
Invoked by the @updateDevice decorator.
Partial attribute payload to merge.
Refresh a live attribute read into the in-memory model and notify sync observers.
The fresh attribute payload.
Facade for Glow products (incl. Onyx and Shine): split high/low temperature registers, a dedicated on/off switch, and a temperature compensation offset.