mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:47:51 +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]
|
||||
|
||||
value = value.copy()
|
||||
|
||||
with prepend_path([key]):
|
||||
value[key] = registry_entry.schema(value[key])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user