You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
DALI lights switching back to "off" ~1-2 min after being turned on. The DALI
state was polled periodically via WAGO_DALI_GET, but that read returns "off"
(the query is unreliable, and impossible for DMX at address >= 100), which
overwrote the real state. In line with Calaos, DALI state is no longer polled in a
loop: it is read once at startup (and only for genuine DALI addresses 1-64),
then tracked optimistically. Since the PLC's internal program is suspended, a
DALI light can only be changed from Home Assistant, so the optimistic state is
exact.