1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Log type as well as value for unique_id checks (#129575)

This commit is contained in:
epenet
2024-10-31 15:10:27 +01:00
committed by GitHub
parent 6a32722acc
commit 696efe349e
2 changed files with 7 additions and 4 deletions

View File

@@ -1638,11 +1638,12 @@ class ConfigEntryItems(UserDict[str, ConfigEntry]):
_LOGGER.error(
(
"Config entry '%s' from integration %s has an invalid unique_id"
" '%s', please %s"
" '%s' of type %s when a string is expected, please %s"
),
entry.title,
entry.domain,
entry.unique_id,
type(entry.unique_id).__name__,
report_issue,
)
else: