core/homeassistant/components/map/__init__.py

13 lines
423 B
Python
Raw Normal View History

"""Support for showing device locations."""
from homeassistant.components import frontend
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType
2019-07-31 19:25:30 +00:00
DOMAIN = "map"
2018-01-15 22:24:12 +00:00
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
2018-01-15 22:24:12 +00:00
"""Register the built-in map panel."""
frontend.async_register_built_in_panel(hass, "map", "map", "hass:tooltip-account")
2018-01-15 22:24:12 +00:00
return True