diff --git a/atom.xml b/atom.xml index 57730c8771..e2387e5750 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 0efd439995..951cc15dc8 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 33d5904a07..be40e704d7 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 0597eeb273..ec70d7bcba 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 96b3c92b16..481b484056 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 746ba9214e..0740e7f9a1 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+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 e57871623a..6edcdc1697 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index ff79243a7d..ed3f0bd01a 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index c55045017f..2557180095 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 5f8b0d7553..112bcb2d92 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index ae03894658..5c746e9a97 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 7716b0232d..a11175f5d7 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 1857d97941..58cf09564f 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 7f0a09dc45..ceeb66c56b 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+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 5011008248..3c3753543f 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 0403fb77e4..e00e3823b6 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 9fb95495b6..70699353ea 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 1db0013f1f..ddc9baa669 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 95b8911e3f..4f64c831e9 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 46d3ecdffe..5fc6703876 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-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 01b07f967b..bd51c95817 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index ae7fb53582..2a98b90a92 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-02-22T06:11:06+00:00 + 2017-02-22T08:42:54+00:00 https://home-assistant.io/ diff --git a/cookbook/githubbackup/index.html b/cookbook/githubbackup/index.html index 4035e3efaf..c39111777f 100644 --- a/cookbook/githubbackup/index.html +++ b/cookbook/githubbackup/index.html @@ -231,6 +231,39 @@ git push origin master

Every time you run this script, you will be prompted for a comment to describe the change(s) that you are commiting. This comment will be displayed beside each changed file on GitHub and will be stored after each commit. You will also be asked to enter your GitHub username and password (or ssh key passphrase if you use GitHub with ssh).

+

Step 7: Configuration file testing

+ +

Travis CI is a continuous intigration testing system that runs every time the code in your repository is updated and allows you to validate that your code works on a fresh install.

+ +
    +
  • Authorise Travis CI to have access to your github repos.
  • +
  • Create the build script that travis will run to test your repo.
  • +
  • Create a dummy secrets.yaml for Travis.
  • +
+ +

Example .travis.yml

+
language: python
+python:
+  - "3.4"
+before_install:
+  - mv travis_secrets.yaml secrets.yaml  
+install:
+  - pip3 install homeassistant
+script:
+  - hass -c . --script check_config
+
+
+ +

Since the secrets.yaml should not be stored in your repo for security reasons, you won’t be able to access it at build time. Creating a dummy secrets.yaml is as simple as creating a new file that mimics your existing secrets.yaml with the required keys, but not their value.

+ +
#travis_secrets.yaml
+http_api: 000000000000000000000000
+home_latitude: 00.00000
+home_longitude: 00.0000
+home_elevation: 0
+
+
+

Extra commands

You can enter these commands to get a list of the files in your local git repository and a status of files that have changed but not commited yet:

diff --git a/sitemap.xml b/sitemap.xml index fc1b1782a5..637a85ec47 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2818,62 +2818,62 @@ https://home-assistant.io/demo/frontend.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/index.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:04+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:05+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:05+00:00 https://home-assistant.io/static/mdi-demo.html -2017-02-22T06:10:22+00:00 +2017-02-22T08:42:05+00:00