mirror of
https://github.com/esphome/esphome.git
synced 2024-11-19 11:17:01 +01:00
Fix registry entry value copy
This commit is contained in:
parent
6c493d10d2
commit
e5485ab650
@ -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 New Issue
Block a user