mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
Fix registry entry value copy
This commit is contained in:
parent
6c493d10d2
commit
e5485ab650
1 changed files with 2 additions and 0 deletions
|
@ -1191,6 +1191,8 @@ def validate_registry_entry(name, registry):
|
||||||
|
|
||||||
registry_entry = registry[key]
|
registry_entry = registry[key]
|
||||||
|
|
||||||
|
value = value.copy()
|
||||||
|
|
||||||
with prepend_path([key]):
|
with prepend_path([key]):
|
||||||
value[key] = registry_entry.schema(value[key])
|
value[key] = registry_entry.schema(value[key])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue