diff --git a/homeassistant/components/demo.py b/homeassistant/components/demo.py
index 388a869ae0c..7c873e834bd 100644
--- a/homeassistant/components/demo.py
+++ b/homeassistant/components/demo.py
@@ -10,14 +10,15 @@ import homeassistant.core as ha
import homeassistant.bootstrap as bootstrap
import homeassistant.loader as loader
from homeassistant.const import (
- CONF_PLATFORM, ATTR_ENTITY_PICTURE, ATTR_ENTITY_ID, ATTR_FRIENDLY_NAME)
+ CONF_PLATFORM, ATTR_ENTITY_ID)
DOMAIN = "demo"
-DEPENDENCIES = ['introduction', 'conversation']
+DEPENDENCIES = ['conversation', 'introduction', 'zone']
COMPONENTS_WITH_DEMO_PLATFORM = [
- 'switch', 'light', 'sensor', 'thermostat', 'media_player', 'notify']
+ 'device_tracker', 'light', 'media_player', 'notify', 'switch', 'sensor',
+ 'thermostat']
def setup(hass, config):
@@ -110,25 +111,6 @@ def setup(hass, config):
}},
]})
- # Setup fake device tracker
- hass.states.set("device_tracker.paulus", "home",
- {ATTR_ENTITY_PICTURE:
- "http://graph.facebook.com/297400035/picture",
- ATTR_FRIENDLY_NAME: 'Paulus'})
- hass.states.set("device_tracker.anne_therese", "not_home",
- {ATTR_FRIENDLY_NAME: 'Anne Therese',
- 'latitude': hass.config.latitude + 0.002,
- 'longitude': hass.config.longitude + 0.002})
-
- hass.states.set("group.all_devices", "home",
- {
- "auto": True,
- ATTR_ENTITY_ID: [
- "device_tracker.paulus",
- "device_tracker.anne_therese"
- ]
- })
-
# Setup configurator
configurator_ids = []
diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py
index a15244ac52f..d51a7623767 100644
--- a/homeassistant/components/frontend/__init__.py
+++ b/homeassistant/components/frontend/__init__.py
@@ -8,7 +8,7 @@ import re
import os
import logging
-from . import version
+from . import version, mdi_version
import homeassistant.util as util
from homeassistant.const import URL_ROOT, HTTP_OK
from homeassistant.config import get_default_config_dir
@@ -74,6 +74,7 @@ def _handle_get_root(handler, path_match, data):
template_html = template_html.replace('{{ app_url }}', app_url)
template_html = template_html.replace('{{ auth }}', auth)
+ template_html = template_html.replace('{{ icons }}', mdi_version.VERSION)
handler.wfile.write(template_html.encode("UTF-8"))
diff --git a/homeassistant/components/frontend/index.html.template b/homeassistant/components/frontend/index.html.template
index 8906e8902a0..409ea6752db 100644
--- a/homeassistant/components/frontend/index.html.template
+++ b/homeassistant/components/frontend/index.html.template
@@ -46,6 +46,6 @@
-
+