mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-12-02 18:36:28 +01:00
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)