Debug level logging for DSMR migration code (#104757)

This commit is contained in:
Jan Bouwhuis 2023-11-30 00:32:12 +01:00 committed by GitHub
parent ec3795ab97
commit 04f1b11ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -456,12 +456,12 @@ def rename_old_gas_to_mbus(
device_id=mbus_device_id,
)
except ValueError:
LOGGER.warning(
LOGGER.debug(
"Skip migration of %s because it already exists",
entity.entity_id,
)
else:
LOGGER.info(
LOGGER.debug(
"Migrated entity %s from unique id %s to %s",
entity.entity_id,
entity.unique_id,