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 relative humidity.
The reading in %.
The mode the device is actually applying right now (wire
cur_mode), which can differ from the commanded mode during a
presence derogation.
The reported mode, or null when the wire answers a value
this SDK does not model (a code outside the six labels, null).
The pilot-wire order the module is sending to the radiator right
now (wire cur_signal, Pro only). The Pro regulates on its own
sensor, so under one commanded mode it alternates between
comfort and eco — this says which of them is on the wire.
The order being sent, or null when the wire answers a
value this SDK does not model, or none at all.
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 device has detected an open window and paused heating.
true while open-window detection is triggered.
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 a presence derogation is running and currently applying comfort.
true during an active presence window.
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.
The Pro accepts one derogation its siblings do not: the presence
detection its own sensor drives (derog_mode 3, the vendor's
Enum (0-3) where every other generation documents Enum (0-2)).
Its write surface is therefore the transport's, not the shared one.
Writable attributes, presence derogation included.
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 Pro products: single-register temperatures, humidity and reported-mode measures, open-window detection, and the presence derogation.