core/homeassistant/components/map/__init__.py

11 lines
268 B
Python
Raw Normal View History

"""Support for showing device locations."""
2019-07-31 19:25:30 +00:00
DOMAIN = "map"
2018-01-15 22:24:12 +00:00
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-07-31 19:25:30 +00:00
"map", "map", "hass:tooltip-account"
)
2018-01-15 22:24:12 +00:00
return True