mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 18:18:27 +02:00
Fix registry entry value copy
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user