Files
EOS/docs/akkudoktoreos
12527597b1 fix(config): migrate Home Assistant config paths with device list positions
Device collections were lists before they became maps keyed by device id,
so a Home Assistant config path such as
devices/batteries/0/min_soc_percentage addressed the first battery. The
migration moved the battery to its device id but kept the list position
in the path. The adapter then reported the path as no existing setting on
every run and no longer applied the Home Assistant value.

Paths with a list position now get the key the device migrates to, for
batteries, electric vehicles, inverters and home appliances. Paths of
collections that are maps already are kept. A list position without a
device is kept and logged as warning. If the same setting is also mapped
by device id, the list position wins, as only it addressed a device in a
list.

Additional changes
The device key prefixes and the key rule are shared with the device list migration
The upgrade guide says that the Home Assistant config paths follow the device ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
2026-11-28 07:59:05 +01:00
..
2024-11-15 22:27:25 +01:00