Consolidate frontend (#9915)

* Consolidate frontend

* Remove home-assistant-polymer submodule

* Convert to using a pypi package for frontend

* fix release script

* Lint

* Remove unused file

* Remove frontend related scripts

* Move hass_frontend to frontend REQUIREMENTS

* Fix tests

* lint

* Address comments

* Lint + fix tests in py34

* Fix py34 tests again

* fix typo
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2017-10-24 19:36:27 -07:00
1 parent 29fb65b224
commit 2bdad5388b
169 files changed
+372 -5396

No files matched your search

+2 -3
View File
@@ -6,13 +6,12 @@ https://home-assistant.io/components/map/
"""
import asyncio
from homeassistant.components.frontend import register_built_in_panel
DOMAIN = 'map'
@asyncio.coroutine
def async_setup(hass, config):
"""Register the built-in map panel."""
register_built_in_panel(hass, 'map', 'Map', 'mdi:account-location')
yield from hass.components.frontend.async_register_built_in_panel(
'map', 'Map', 'mdi:account-location')
return True