mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Remove automatically reloading group config (#6197)
This commit is contained in:
parent
34a7aa2376
commit
3a35642dc1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user