Skip to content

v0.5.1 — colour temperature is a per-lamp setting

Choose a tag to compare

@dasimon135 dasimon135 released this 29 Aug 06:43
· 12 commits to main since this release
59eaf49

Changed

Which lamps get their colour temperature mirrored is now chosen per lamp, not
per manufacturer.

Until this release the mirror was applied to every Häfele lamp, unconditionally.
Issue #7 produced the lamp that disproves that rule: a Häfele node showing warm
white when Home Assistant said cool — the workaround was itself doing the
inverting. Either that lamp is spec-conformant and the vendor list was wrong
about it, or the list was missing an entry, and no diagnostics dump tells those
two apart. Both readings agree on the same conclusion: the quirk varies within
a manufacturer, by model or by firmware, so a company identifier cannot predict
it.

Settings → Devices & Services → Bluetooth MeshConfigure now lists every
colour-temperature lamp under Lamps with inverted colour temperature. Tick
the ones that show warm when Home Assistant says cool; leave the rest, because
mirroring a lamp that is already correct inverts warm and cool end to end. One
network can now hold both kinds, which the vendor list could not express at all.

The mirror applies when a command is sent, so a change takes effect from the
next one — ticking the box does not re-colour a lamp that is already lit.

Nothing changes on upgrade. The first setup after updating writes the old
rule into the new option: every Häfele lamp with a CTL server starts ticked. An
install that works today keeps working, and the setting is visible where it can
be unticked. A lamp imported later arrives unticked whatever its manufacturer,
which is the honest default now that the identifier is known not to predict the
quirk.

Added

Diagnostics names the mirrored lamps. state.inverted_ctl lists the
addresses whose temperature is mirrored before sending. Without it, a report of a
backwards lamp cannot say whether the inversion is the lamp's or ours — the
ambiguity that cost a round trip on #7.


Hardware-validated on a Häfele Connect Mesh lamp through an ESPHome Bluetooth
proxy: the upgrade changes nothing, unticking swaps warm and cool, and an emptied
list survives a full Home Assistant restart.