mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Debug level logging for DSMR migration code (#104757)
This commit is contained in:
parent
ec3795ab97
commit
04f1b11ef7
@ -456,12 +456,12 @@ def rename_old_gas_to_mbus(
|
|||||||
device_id=mbus_device_id,
|
device_id=mbus_device_id,
|
||||||
)
|
)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
LOGGER.warning(
|
LOGGER.debug(
|
||||||
"Skip migration of %s because it already exists",
|
"Skip migration of %s because it already exists",
|
||||||
entity.entity_id,
|
entity.entity_id,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
LOGGER.info(
|
LOGGER.debug(
|
||||||
"Migrated entity %s from unique id %s to %s",
|
"Migrated entity %s from unique id %s to %s",
|
||||||
entity.entity_id,
|
entity.entity_id,
|
||||||
entity.unique_id,
|
entity.unique_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user