* Consolidate frontend * Remove home-assistant-polymer submodule * Convert to using a pypi package for frontend * fix release script * Lint * Remove unused file * Remove frontend related scripts * Move hass_frontend to frontend REQUIREMENTS * Fix tests * lint * Address comments * Lint + fix tests in py34 * Fix py34 tests again * fix typo
17 lines
454 B
Python
17 lines
454 B
Python
"""
|
|
Provides a map panel for showing device locations.
|
|
|
|
For more details about this component, please refer to the documentation at
|
|
https://home-assistant.io/components/map/
|
|
"""
|
|
import asyncio
|
|
|
|
DOMAIN = 'map'
|
|
|
|
|
|
@asyncio.coroutine
|
|
def async_setup(hass, config):
|
|
"""Register the built-in map panel."""
|
|
yield from hass.components.frontend.async_register_built_in_panel(
|
|
'map', 'Map', 'mdi:account-location')
|
|
return True
|