Fix: Home Assistant 2026.x, the HA core editor behavior changed
🐞 Fixed (Floor3DPro Editor)
This fix addresses a regression introduced during the Deterministic / Transactional Editor game-engine backbone upgrade in the Floor3DPro card.
In earlier versions, the editor implemented a defensive mechanism to prevent options array concatenation swelling inside Home Assistant editor lifecycle.
That swelling could lead to:
- Increased CPU usage
- Increased GPU usage
- Growing memory pressure
- UI slowdown due to continuously expanding option arrays on repeated editor refreshes
To mitigate this, the Pro editor cleared internal option arrays on each setConfig() call to keep the editor deterministic and transaction-safe.
However, starting with Home Assistant 2026.x, the HA core editor behavior changed:
- HA now internally prevents the concat / swelling scenario at the core level.
- At the same time, HA triggers full transactional editor refreshes after each setting change.
As a side effect, the Pro editor’s additional array-reset logic caused loss of internal UI state, leading to:
- Second-level dropdown menus collapsing immediately after selection
- Editor behaving as if it was fully reloaded after each change
What this fix does
- Removes the redundant array reset introduced for concat-swelling prevention
- Restores original editor behavior where UI state is preserved across selections
- Aligns Floor3DPro editor behavior with Home Assistant 2026.x transactional editor lifecycle
- Keeps performance stable while avoiding unnecessary CPU/GPU churn
In short:
Home Assistant core now handles the original swelling problem internally, and this fix adapts the Pro editor to that new reality.