hass-core/homeassistant/components/map/__init__.py
epenet 33e926371f
Add init type hints [m] (#63189)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:28:14 +01:00

13 lines
401 B
Python

"""Support for showing device locations."""
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType
DOMAIN = "map"
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Register the built-in map panel."""
hass.components.frontend.async_register_built_in_panel(
"map", "map", "hass:tooltip-account"
)
return True