mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix config 404 (#12571)
This commit is contained in:
parent
28fec209e0
commit
8d0b7adf24
@ -159,7 +159,7 @@ class EditKeyBasedConfigView(BaseEditConfigView):
|
||||
|
||||
def _get_value(self, hass, data, config_key):
|
||||
"""Get value."""
|
||||
return data.get(config_key, {})
|
||||
return data.get(config_key)
|
||||
|
||||
def _write_value(self, hass, data, config_key, new_value):
|
||||
"""Set value."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user