mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Geo Location -> Geolocation (comments and default group name) (#19865)
* fixed geolocation naming in comments * fixed geolocation naming in default group name * fixed link to documentation (after https://github.com/home-assistant/home-assistant.io/pull/8086)
This commit is contained in:
parent
c7a32e59b7
commit
4bbfc04f5e
@ -3,7 +3,7 @@ Offer geo location automation rules.
|
||||
|
||||
For more details about this automation trigger, please refer to the
|
||||
documentation at
|
||||
https://home-assistant.io/docs/automation/trigger/#geo-location-trigger
|
||||
https://home-assistant.io/docs/automation/trigger/#geolocation-trigger
|
||||
"""
|
||||
import voluptuous as vol
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
"""
|
||||
Geo Location component.
|
||||
Geolocation component.
|
||||
|
||||
For more details about this component, please refer to the documentation at
|
||||
https://home-assistant.io/components/geo_location/
|
||||
@ -22,13 +22,13 @@ DOMAIN = 'geo_location'
|
||||
|
||||
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
||||
|
||||
GROUP_NAME_ALL_EVENTS = 'All Geo Location Events'
|
||||
GROUP_NAME_ALL_EVENTS = 'All Geolocation Events'
|
||||
|
||||
SCAN_INTERVAL = timedelta(seconds=60)
|
||||
|
||||
|
||||
async def async_setup(hass, config):
|
||||
"""Set up the Geo Location component."""
|
||||
"""Set up the Geolocation component."""
|
||||
component = EntityComponent(
|
||||
_LOGGER, DOMAIN, hass, SCAN_INTERVAL, GROUP_NAME_ALL_EVENTS)
|
||||
await component.async_setup(config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user