mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Downgrade duplicate YAML key log to warning (#28851)
This commit is contained in:
parent
9324845aaa
commit
21157f9dac
@ -211,7 +211,7 @@ def _ordered_dict(loader: SafeLineLoader, node: yaml.nodes.MappingNode) -> Order
|
||||
|
||||
if key in seen:
|
||||
fname = getattr(loader.stream, "name", "")
|
||||
_LOGGER.error(
|
||||
_LOGGER.warning(
|
||||
'YAML file %s contains duplicate key "%s". ' "Check lines %d and %d.",
|
||||
fname,
|
||||
key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user