core/homeassistant/components/dsmr
dupondje 750bce2b86
Also migrate dsmr entries for devices with correct serial (#123407)
dsmr: also migrate entries for devices with correct serial

When the dsmr code could not find the serial_nr for the gas meter,
it creates the gas meter device with the entry_id as identifier.

But when there is a correct serial_nr, it will use that as identifier
for the dsmr gas device.

Now the migration code did not take this into account, so migration to
the new name failed since it didn't look for the device with correct
serial_nr.

This commit fixes this and adds a test for this.
2024-08-10 10:40:11 +02:00
..
__init__.py Add diagnostic information to DSMR (#122041) 2024-07-18 11:57:11 +02:00
config_flow.py
const.py Add diagnostic information to DSMR (#122041) 2024-07-18 11:57:11 +02:00
diagnostics.py Add diagnostic information to DSMR (#122041) 2024-07-18 11:57:11 +02:00
icons.json
manifest.json Remove myself from DSMR codeowners (#123243) 2024-08-06 14:55:37 +02:00
sensor.py Also migrate dsmr entries for devices with correct serial (#123407) 2024-08-10 10:40:11 +02:00
strings.json