core/homeassistant/components/map/__init__.py

10 lines
269 B
Python

"""Support for showing device locations."""
DOMAIN = 'map'
async def async_setup(hass, config):
"""Register the built-in map panel."""
await hass.components.frontend.async_register_built_in_panel(
'map', 'map', 'hass:tooltip-account')
return True