Skip to content

Commit 2bdad53

Browse files
authored
Consolidate frontend (home-assistant#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
1 parent 29fb65b commit 2bdad53

File tree

169 files changed

+369
-5393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+369
-5393
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "homeassistant/components/frontend/www_static/home-assistant-polymer"]
2-
path = homeassistant/components/frontend/www_static/home-assistant-polymer
3-
url = https://github.com/home-assistant/home-assistant-polymer.git

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
include README.rst
22
include LICENSE.md
33
graft homeassistant
4-
prune homeassistant/components/frontend/www_static/home-assistant-polymer
54
recursive-exclude * *.py[co]

homeassistant/components/config/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from homeassistant.const import EVENT_COMPONENT_LOADED, CONF_ID
99
from homeassistant.setup import (
1010
async_prepare_setup_platform, ATTR_COMPONENT)
11-
from homeassistant.components.frontend import register_built_in_panel
1211
from homeassistant.components.http import HomeAssistantView
1312
from homeassistant.util.yaml import load_yaml, dump
1413

@@ -21,7 +20,8 @@
2120
@asyncio.coroutine
2221
def async_setup(hass, config):
2322
"""Set up the config component."""
24-
register_built_in_panel(hass, 'config', 'Configuration', 'mdi:settings')
23+
yield from hass.components.frontend.async_register_built_in_panel(
24+
'config', 'Configuration', 'mdi:settings')
2525

2626
@asyncio.coroutine
2727
def setup_panel(panel_name):

0 commit comments

Comments
 (0)