mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Fix: using deep merge for test update schema (#3297)
This commit is contained in:
parent
8f263ab345
commit
838af87ad7
@ -587,7 +587,9 @@ class Addon(AddonModel):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
# merge options
|
# merge options
|
||||||
options = {**self.persist[ATTR_OPTIONS], **default_options}
|
options = _OPTIONS_MERGER.merge(
|
||||||
|
deepcopy(default_options), deepcopy(self.persist[ATTR_OPTIONS])
|
||||||
|
)
|
||||||
|
|
||||||
# create voluptuous
|
# create voluptuous
|
||||||
new_schema = vol.Schema(
|
new_schema = vol.Schema(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user