Remove automatically reloading group config (#6197)

This commit is contained in:
Paulus Schoutsen 2017-02-23 22:40:21 -08:00 committed by GitHub
parent 34a7aa2376
commit 3a35642dc1

View File

@ -2,7 +2,7 @@
import asyncio import asyncio
from homeassistant.components.config import EditKeyBasedConfigView from homeassistant.components.config import EditKeyBasedConfigView
from homeassistant.components.group import GROUP_SCHEMA, async_reload from homeassistant.components.group import GROUP_SCHEMA
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
@ -14,6 +14,6 @@ def async_setup(hass):
"""Setup the Group config API.""" """Setup the Group config API."""
hass.http.register_view(EditKeyBasedConfigView( hass.http.register_view(EditKeyBasedConfigView(
'group', 'config', CONFIG_PATH, cv.slug, 'group', 'config', CONFIG_PATH, cv.slug,
GROUP_SCHEMA, post_write_hook=async_reload GROUP_SCHEMA
)) ))
return True return True