hass-core/homeassistant/components/map/__init__.py
Paulus Schoutsen 1a3a38d370 Dynamic panels (#24184)
* Don't require all panel urls to be registered

* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00

9 lines
263 B
Python

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