old_contents: """Provide configuration end points for Groups."""
  import asyncio
  
  from homeassistant.components.config import EditKeyBasedConfigView
  from homeassistant.components.group import GROUP_SCHEMA, async_reload
  import homeassistant.helpers.config_validation as cv
  
  
  CONFIG_PATH = 'groups.yaml'
  
  
  @asyncio.coroutine
  def async_setup(hass):
      """Setup the Group config API."""
      hass.http.register_view(EditKeyBasedConfigView(
          'group', 'config', CONFIG_PATH, cv.slug,
          GROUP_SCHEMA, post_write_hook=async_reload
      ))
      return True
  
new_contents: """Provide configuration end points for Groups."""
  import asyncio
  
  from homeassistant.components.config import EditKeyBasedConfigView
  from homeassistant.components.group import GROUP_SCHEMA
  import homeassistant.helpers.config_validation as cv
  
  
  CONFIG_PATH = 'groups.yaml'
  
  
  @asyncio.coroutine
  def async_setup(hass):
      """Setup the Group config API."""
      hass.http.register_view(EditKeyBasedConfigView(
          'group', 'config', CONFIG_PATH, cv.slug,
          GROUP_SCHEMA
      ))
      return True
  
subject: Remove automatically reloading group config (#6197)