Fix config 404 (#12571)

This commit is contained in:
Paulus Schoutsen 2018-02-21 04:16:08 -08:00 committed by Pascal Vizeli
parent 28fec209e0
commit 8d0b7adf24

View File

@ -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."""