Skip to content

v5.4.0 – Architecture rewrite & UX improvements

Choose a tag to compare

@ddebaets ddebaets released this 03 Apr 15:56

What's new in v5.4.0

Architecture

  • Event-driven debouncer: batches rapid P1 meter updates, reducing HA event-loop pressure ~9×
  • Sensors hold direct Python references to dependencies (no sibling sensor state bus lookups)
  • Entry-scoped unique IDs — multiple installations never collide

Setup wizard

  • 8 steps (down from 9) — electricity and gas contract dates combined in one step
  • Separate contract start dates for electricity and gas
  • Gas current meter reading is now required (prevents negative consumption values)
  • All number fields use text box mode (no more sliders)
  • Step progress shown in every title (Step X of 8)

Bug fixes

  • Invalid entity ID warning fixed (entry ID lowercased)
  • Options flow fixed for HA 2024+ (no-argument OptionsFlow)
  • Options menu labels now display correctly
  • translations/en.json added (frontend label fix)
  • Sensor units cleaned up (no more /year or /month suffixes)
  • Automatic entity registry migration from v1 → v2 (dashboard cards preserved)