mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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):
|
def _get_value(self, hass, data, config_key):
|
||||||
"""Get value."""
|
"""Get value."""
|
||||||
return data.get(config_key, {})
|
return data.get(config_key)
|
||||||
|
|
||||||
def _write_value(self, hass, data, config_key, new_value):
|
def _write_value(self, hass, data, config_key, new_value):
|
||||||
"""Set value."""
|
"""Set value."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user