diff --git a/atom.xml b/atom.xml index 49fc22d6fb..2948477506 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index ce5564d98e..3621ec2ec5 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: community | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index f43cf7d094..85b710cf53 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index c64a2ceb6b..efad8fe076 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 4811b62008..9a8c0ed4d1 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 912b0d6db3..317576b821 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 25c8ee4e62..73c32802c5 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index c3463d29d1..06187ab124 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index a9f78f794f..1604c58f59 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 6522207bbe..1eb98ecfc8 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index f01e7d3efb..fc28741145 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index a609bc0955..a608e11be2 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index fbe0bdec32..6a1e1e85f3 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 751bc36ce7..5eead0e8ef 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 5b0c02611a..b2957a2302 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index eebba72d49..08590c06ea 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 08bac8a7b2..706c150ffc 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index c886b1d263..3b1e03744f 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index d55c42f246..5d3c1d30b4 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index cf09a91349..08477aa172 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index e720f8b8ab..de4cea986d 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-02-08T17:34:10+00:00 + 2017-02-08T20:04:39+00:00 https://home-assistant.io/ diff --git a/components/recorder/index.html b/components/recorder/index.html index 3f5bd835f2..e12f49156b 100644 --- a/components/recorder/index.html +++ b/components/recorder/index.html @@ -94,7 +94,7 @@

Home Assistant uses SQLAlchemy as Object Relational Mapper (ORM). This means that you can now use any SQL backend for the recorder that is supported by SQLAlchemy, like MySQL, MariaDB, or PostgreSQL.

-

The default database engine is SQLite which doesn’t require any configuration. The database is stored in your Home Assistant configuration directory (.homeassistant) and called home-assistant.db.

+

The default database engine is SQLite which doesn’t require any configuration. The database is stored in your Home Assistant configuration directory (.homeassistant) and called home-assistant_v2.db.

To setup the recorder component in your installation, add the following to your configuration.yaml file:

diff --git a/developers/component_generic_discovery/index.html b/developers/component_generic_discovery/index.html index 4338bf3b08..eea4088f99 100644 --- a/developers/component_generic_discovery/index.html +++ b/developers/component_generic_discovery/index.html @@ -91,13 +91,13 @@

New controller or hub components often need to add platforms in sub-components (i.e. Lights & Switches) without additional configuration. -This can be achieved using the homeassistant.components.discovery.load_platform method:

+This can be achieved using the load_platform or async_load_platform methods from homeassistant.helpers.discovery:

-
def load_platform(hass, component, platform, info=None, hass_config=None)
+
def load_platform(hass, component, platform, discovered=None, hass_config=None)
 
-

From more info on how this works, refer to the load_platform method.

+

From more info on how this works, refer to the load_platform method.

Example

@@ -120,7 +120,7 @@ This can be achieved using the homeassistant.com

In the hub component myflashyhub.py you can call your light and switch components. To pass any non-serializable information to the platforms in the sub-component, you can use a global variable.

-
from homeassistant.components.discovery import load_platform
+
from homeassistant.helpers.discovery import load_platform
 DOMAIN = 'myflashyhub'
 
 MFH_GLOBAL = None
@@ -158,10 +158,6 @@ This can be achieved using the homeassistant.com
 
-

-In the past, this was achieved by adding your component to the DISCOVERY_PLATFORMS in the target sub-component. Generic discovery through load_platform() allows you to load any sub-component, including custom components, without changing the sub-component. -

- diff --git a/sitemap.xml b/sitemap.xml index bafc785923..d914be7ff3 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2737,62 +2737,62 @@ https://home-assistant.io/demo/frontend.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/index.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:47+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:48+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:48+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:48+00:00 https://home-assistant.io/static/mdi-demo.html -2017-02-08T17:33:23+00:00 +2017-02-08T20:03:48+00:00