core/homeassistant/components/map/__init__.py

10 lines
263 B
Python
Raw Normal View History

"""Support for showing device locations."""
2018-01-15 22:24:12 +00:00
DOMAIN = 'map'
async def async_setup(hass, config):
2018-01-15 22:24:12 +00:00
"""Register the built-in map panel."""
hass.components.frontend.async_register_built_in_panel(
2019-01-30 16:09:56 +00:00
'map', 'map', 'hass:tooltip-account')
2018-01-15 22:24:12 +00:00
return True