settings_value of mutable dict returns copy with metadata

This commit is contained in:
iLLiCiTiT 2021-01-25 17:51:18 +01:00
parent 0dbab45cc6
commit fea471d634

View file

@ -753,9 +753,8 @@ class DictMutableKeysEntity(ItemEntity):
return output
def settings_value(self):
output = {}
for key, child_obj in self.children_by_key.items():
output[key] = child_obj.settings_value()
output = copy.deepcopy(self._current_value)
output.update(copy.deepcopy(self.current_metadata))
return output
def remove_overrides(self):