Remove creation of geolocation default group (#20338)

pull/20349/head
Malte Franken 2019-01-23 20:04:41 +11:00 committed by Martin Hjelmare
parent db277ad023
commit eaa9c4d437
1 changed files with 1 additions and 4 deletions

View File

@ -22,15 +22,12 @@ DOMAIN = 'geo_location'
ENTITY_ID_FORMAT = DOMAIN + '.{}' ENTITY_ID_FORMAT = DOMAIN + '.{}'
GROUP_NAME_ALL_EVENTS = 'All Geolocation Events'
SCAN_INTERVAL = timedelta(seconds=60) SCAN_INTERVAL = timedelta(seconds=60)
async def async_setup(hass, config): async def async_setup(hass, config):
"""Set up the Geolocation component.""" """Set up the Geolocation component."""
component = EntityComponent( component = EntityComponent(_LOGGER, DOMAIN, hass, SCAN_INTERVAL)
_LOGGER, DOMAIN, hass, SCAN_INTERVAL, GROUP_NAME_ALL_EVENTS)
await component.async_setup(config) await component.async_setup(config)
return True return True