1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-11 16:47:11 +00:00
Otto Winter a4bf421044 Convert more files to async/await syntax ()
* Move more files to async/await syntax

* Attempt Work around pylint bug

Using lazytox :P
2018-04-28 19:26:20 -04:00

15 lines
403 B
Python

"""
Provides a map panel for showing device locations.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/map/
"""
DOMAIN = 'map'
async def async_setup(hass, config):
"""Register the built-in map panel."""
await hass.components.frontend.async_register_built_in_panel(
'map', 'map', 'mdi:account-location')
return True