From 8b990582ddb3f8f4ad3a74a7ea35deeeb2cc78bb Mon Sep 17 00:00:00 2001
From: Robin
Date: Thu, 15 Feb 2018 17:47:16 +0000
Subject: [PATCH 01/63] Clarify distribution of random values (#4614)
Clarify that values drawn produce a discrete uniform distribution, and not for example a normal (or bell shaped) distribution. I intend to implement a random physics sensor which will return a bell distribution and this edit will avoid confusion.
---
source/_components/sensor.random.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_components/sensor.random.markdown b/source/_components/sensor.random.markdown
index d550d4b88d..c7f2bf07b1 100644
--- a/source/_components/sensor.random.markdown
+++ b/source/_components/sensor.random.markdown
@@ -14,7 +14,7 @@ ha_release: 0.32
---
-The `random` sensor platform is creating random sensor values (integers) out of a given range. This can be useful if you want to test automation rules. It generates a new value every time it is polled.
+The `random` sensor platform is creating random sensor values (integers) out of a given range. Returned values form a [discrete uniform distribution](https://en.wikipedia.org/wiki/Discrete_uniform_distribution), meaning that each integer value in the range configured is equally likely to be drawn. This can be useful if you want to test automation rules. It generates a new value every time it is polled.
To enable the random sensor, add the following lines to your `configuration.yaml`:
From 132b1528419c3c87acba38844e3d56b3bef90810 Mon Sep 17 00:00:00 2001
From: George Vedamanickam
Date: Thu, 15 Feb 2018 23:23:27 +0530
Subject: [PATCH 02/63] Update tls_self_signed_certificate.markdown (#4679)
Minor typo in the word complain
---
.../ecosystem/certificates/tls_self_signed_certificate.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_docs/ecosystem/certificates/tls_self_signed_certificate.markdown b/source/_docs/ecosystem/certificates/tls_self_signed_certificate.markdown
index 53736e0693..d7c145fe8b 100644
--- a/source/_docs/ecosystem/certificates/tls_self_signed_certificate.markdown
+++ b/source/_docs/ecosystem/certificates/tls_self_signed_certificate.markdown
@@ -12,7 +12,7 @@ redirect_from: /cookbook/tls_self_signed_certificate/
If your Home Assistant instance is only accessible from your local network you can still protect the communication between your browsers and the frontend with SSL/TLS.
[Let's encrypt]({{site_root}}/blog/2015/12/13/setup-encryption-using-lets-encrypt/) will only work if you have a DNS entry and remote access is allowed.
-The solution is to use a self-signed certificate. As you most likely don't have a certification authority (CA) your browser will conplain about the security. If you have a CA then this will not be an issue.
+The solution is to use a self-signed certificate. As you most likely don't have a certification authority (CA) your browser will complain about the security. If you have a CA then this will not be an issue.
To create a certificate locally, you need the [OpenSSL](https://www.openssl.org/) command-line tool.
From 8746192d160cfbd6798af247d49149a0512a6f9e Mon Sep 17 00:00:00 2001
From: DubhAd
Date: Thu, 15 Feb 2018 17:55:36 +0000
Subject: [PATCH 03/63] Added note calling out Hass.io only (#4678)
* Added note calling out Hass.io only
Given the ongoing confusion that add-ons cause, adding a note box to call out that add-ons are Hass.io only.
* Fix typo
---
source/addons/index.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/source/addons/index.html b/source/addons/index.html
index 5abc6504b7..413106dd86 100644
--- a/source/addons/index.html
+++ b/source/addons/index.html
@@ -16,6 +16,10 @@ regenerate: false
Check the Hass.io forums for add-on repositories managed by the community.
+
+Add-ons are only available if you've used the Hass.io installer. If you installed Home Assistant using any other method then you cannot use add-ons (but you can achieve the same result manually).
+
From 648b83bad6cf6e661f16db4ba11bc4495442ced4 Mon Sep 17 00:00:00 2001
From: DubhAd
Date: Thu, 15 Feb 2018 17:56:06 +0000
Subject: [PATCH 04/63] Added note about add-ons (#4677)
Since this keeps causing confusion, adding a note to the FAQ
---
source/_faq/ha-vs-hassio.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/source/_faq/ha-vs-hassio.markdown b/source/_faq/ha-vs-hassio.markdown
index a331e034aa..41e373cfee 100644
--- a/source/_faq/ha-vs-hassio.markdown
+++ b/source/_faq/ha-vs-hassio.markdown
@@ -14,3 +14,4 @@ Home Assistant is a Python program, in simple words. It can be run various opera
[Hass.io](/hassio/) is a combination of Home Assistant and tools which allows one to run it easily on a Raspberry Pi and other platforms without setting up an operating system first. Hass.io is an all-in one-solution and has a management user interface that can be used from the Home Assistant frontend. This interface is not present in a standalone setup of Home Assistant.
+Be aware that add-ons are only available in Hass.io, due to the way Hass.io is installed.
From 903b86402096caab9c69aaae7ed6d3619759d67a Mon Sep 17 00:00:00 2001
From: DubhAd
Date: Thu, 15 Feb 2018 17:57:16 +0000
Subject: [PATCH 05/63] Added FAQ link (#4674)
* Added FAQ link
Added link to the FAQ article that (starts to) explain the difference between Hass.io and stock Home Assistant.
* Update link
---
source/getting-started/index.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/getting-started/index.markdown b/source/getting-started/index.markdown
index d70ee63662..abb8cf7e72 100644
--- a/source/getting-started/index.markdown
+++ b/source/getting-started/index.markdown
@@ -11,7 +11,7 @@ footer: true
The goal of this getting started guide is to install [Hass.io](/hassio/) on a Raspberry Pi 3. Hass.io is our own all in one solution that turns your Raspberry Pi into the ultimate home automation hub.
-Follow this guide if you want to easily get started with Home Assistant, or if you have no or little Linux experience. For advanced users or if you have no Raspberry Pi at hand, check our [alternative installation methods](/docs/installation/).
+Follow this guide if you want to easily get started with Home Assistant, or if you have no or little Linux experience. For advanced users or if you have no Raspberry Pi at hand, check our [alternative installation methods](/docs/installation/). The [FAQ](/faq/#home-assistant-vs-hassio) explains more about the differences.
### {% linkable_title Hardware requirements %}
From a668d5b26fdbf037d089e04d2a5f13c9856840e8 Mon Sep 17 00:00:00 2001
From: Thijs de Jong
Date: Thu, 15 Feb 2018 18:58:08 +0100
Subject: [PATCH 06/63] Fix Tahoma documentation (#4673)
* remove sensor config example
* Set sensor category to sensor
was cover before
* remove cover config example
---
source/_components/cover.tahoma.markdown | 8 ++------
source/_components/sensor.tahoma.markdown | 10 +++-------
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/source/_components/cover.tahoma.markdown b/source/_components/cover.tahoma.markdown
index 787b6fb126..1176153355 100644
--- a/source/_components/cover.tahoma.markdown
+++ b/source/_components/cover.tahoma.markdown
@@ -12,10 +12,6 @@ ha_category: Cover
ha_release: 0.59
---
-To use your tahoma covers in your installation, add the following to your `configuration.yaml` file:
+The `tahoma` cover platform lets you control covers added to your Tahoma Box in Home Assistant.
-```yaml
-# Example configuration.yml entry
-cover:
- platform: tahoma
-```
+Covers will be added automatically. Please refer to the [component](/components/tahoma/) configuration on how to setup Tahoma.
diff --git a/source/_components/sensor.tahoma.markdown b/source/_components/sensor.tahoma.markdown
index 80cf6bc4eb..7a2b960de8 100644
--- a/source/_components/sensor.tahoma.markdown
+++ b/source/_components/sensor.tahoma.markdown
@@ -8,14 +8,10 @@ comments: false
sharing: true
footer: true
logo: tahoma.png
-ha_category: Cover
+ha_category: Sensor
ha_release: 0.59
---
-To use your tahoma sensors in your installation, add the following to your `configuration.yaml` file:
+The `tahoma` sensor platform lets you see sensors added to your Tahoma Box in Home Assistant.
-```yaml
-# Example configuration.yml entry
-sensor:
- platform: tahoma
-```
+Sensors will be added automatically. Please refer to the [component](/components/tahoma/) configuration on how to setup Tahoma.
From 4f6179e2ff679fe83580aac4bc64e2dca61a2b70 Mon Sep 17 00:00:00 2001
From: Otto Winter
Date: Thu, 15 Feb 2018 19:04:37 +0100
Subject: [PATCH 07/63] Fix MQTT tls_version docs (#4666)
* Fix MQTT tls_version docs
* Quick fix for escaping issue
* Remove space
---
source/_docs/mqtt/broker.markdown | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/_docs/mqtt/broker.markdown b/source/_docs/mqtt/broker.markdown
index a5f9e9ba70..74e45a91d0 100644
--- a/source/_docs/mqtt/broker.markdown
+++ b/source/_docs/mqtt/broker.markdown
@@ -99,14 +99,14 @@ tls_insecure:
type: boolean
tls_version:
required: false
- description: "TLS/SSL protocol version to use. Available options are: `auto`, `1.0`, `1.1`, `1.2`. Defaults to `auto`."
+ description: "TLS/SSL protocol version to use. Available options are: `'auto'`, `'1.0'`, `'1.1'`, `'1.2'`. Make sure to put quotes around the value. Defaults to `'auto'`."
type: string
{% endconfiguration %}
There is an issue with the Mosquitto package included in Ubuntu 14.04 LTS. Specify `protocol: 3.1` in your MQTT configuration to work around this issue.
-If you get this error `AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'` then you need to set `tls_version: 1.2`.
+If you get this error `AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'` then you need to set `tls_version: '1.2'`.
From 0a0a0a20a29ed76bfe38ce38310e83dbd65af9c7 Mon Sep 17 00:00:00 2001
From: Omen Wild
Date: Thu, 15 Feb 2018 10:13:53 -0800
Subject: [PATCH 08/63] Add a Python program to print the correct code sequence
for compliant devices (#4619)
* Add a Python program to print the correct code sequence for compliant devices
* Remove blank lines
---
source/_docs/z-wave/control-panel.markdown | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/source/_docs/z-wave/control-panel.markdown b/source/_docs/z-wave/control-panel.markdown
index 06c9bd741b..5d89b164ce 100644
--- a/source/_docs/z-wave/control-panel.markdown
+++ b/source/_docs/z-wave/control-panel.markdown
@@ -130,6 +130,20 @@ If your node has user codes, you can set and delete them. The format is raw hex
Some non compliant device like tag readers, have implemented to use raw hex code.
Please refer to a hex ascii table to set your code. Example: http://www.asciitable.com/
+Here is a small Python program than will take numbers on the command line and print the correct sequence for compliant devices:
+
+```python
+#! /usr/bin/python3
+import sys
+
+translations = {}
+
+for x in range(0, 10):
+ translations["%s" % x] = "\\x3%s" % x
+
+for c in sys.argv[1]:
+ print(translations[c], end='')
+```
## {% linkable_title OZW Log %}
From ee1a21c9d9db769d3f41b7a9ac15c733d63197d5 Mon Sep 17 00:00:00 2001
From: mweimerskirch <362092+mweimerskirch@users.noreply.github.com>
Date: Thu, 15 Feb 2018 19:14:47 +0100
Subject: [PATCH 09/63] Updated Google calendar documentation (#4621)
The documentation was missing the step to enable the calendar API. It this step is not completed, the following error appears in the log: Encountered 403 Forbidden with reason "accessNotConfigured"
---
source/_components/calendar.google.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/source/_components/calendar.google.markdown b/source/_components/calendar.google.markdown
index 3442a972a0..acad749e7c 100644
--- a/source/_components/calendar.google.markdown
+++ b/source/_components/calendar.google.markdown
@@ -28,6 +28,7 @@ Generate a Client ID and Client Secret on [Google Developers Console](https://co
1. Click 'Create credentials' -> OAuth client ID.
1. Set the Application type to 'Other' and give this credential set a name then click Create.
1. Save the client ID and secret as you will need to put these in your configuration.yaml file.
+1. Click on "Library", search for "Google Calendar API" and enable it.
### {% linkable_title Basic Setup %}
From ec57b0725dbac28789b73729dcfd5f177f0c8b17 Mon Sep 17 00:00:00 2001
From: honcheng
Date: Fri, 16 Feb 2018 02:16:17 +0800
Subject: [PATCH 10/63] Update vacuum.xiaomi_miio.markdown (#4594)
Added additional instruction to get adb backup working for certain phones.
---
source/_components/vacuum.xiaomi_miio.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_components/vacuum.xiaomi_miio.markdown b/source/_components/vacuum.xiaomi_miio.markdown
index b04cfe04f3..03a8b0ecec 100644
--- a/source/_components/vacuum.xiaomi_miio.markdown
+++ b/source/_components/vacuum.xiaomi_miio.markdown
@@ -174,7 +174,7 @@ To fetch the token follow these instructions depending on your mobile phone plat
2. Enable developer mode, USB debugging and plug the Android phone into the computer.
3. Get ADB e.g. `apt-get install android-tools-adb` or `apt-get install adb`
4. `adb devices` should list your device. Consult ADB manual if necessary.
-5. Issue a backup command via adb: `adb backup -noapk com.xiaomi.smarthome -f backup.ab` (set a password if prompted on your phone)
+5. Issue a backup command via adb: `adb backup -noapk com.xiaomi.smarthome -f backup.ab` (set a password if prompted on your phone). Some devices may required single quotes in the command `adb backup '-noapk com.xiaomi.smarthome -f backup.ab'`
6. Download the 'ADB Backup Extractor' from [here](https://sourceforge.net/projects/adbextractor/files/latest/download)
7. Extract the data from the backup: `java -jar Android\ Backup\ Utilities/Android\ Backup\ Extractor/android-backup-extractor-20171005-bin/abe.jar unpack backup.ab unpacked.tar` (enter the password, if prompted)
8. Untar the unpacked data: `tar -xvf unpacked.tar`
From d069fb8a8f17624406a5b0ea174e040eefcc4ee4 Mon Sep 17 00:00:00 2001
From: KD4SIR
Date: Thu, 15 Feb 2018 13:18:21 -0500
Subject: [PATCH 11/63] Update media_player.vlc.markdown (#4605)
* Update media_player.vlc.markdown
(My first submission) Updated the page to state this component is not compatible with Hassio at the moment.
* Minor changes
---
source/_components/media_player.vlc.markdown | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/source/_components/media_player.vlc.markdown b/source/_components/media_player.vlc.markdown
index 21ed9cdf24..0925495764 100644
--- a/source/_components/media_player.vlc.markdown
+++ b/source/_components/media_player.vlc.markdown
@@ -60,3 +60,7 @@ You need to add the `homeassistant` user to the `audio` group:
```bash
sudo usermod -a -G audio homeassistant
```
+
+##### {% linkable_title VLC currently not supported with Hass.io %}
+
+According to the forum topic ["How to add VLC into my Hassio"](http://community.home-assistant.io/t/how-to-add-vlc-into-my-hassio/23000/5), it is not possible to install packages like VLC on Hass.io.
From 1e0fd94239dfb179516b1c1a6f687a6b332bfb5b Mon Sep 17 00:00:00 2001
From: Scott
Date: Fri, 16 Feb 2018 11:03:34 -0600
Subject: [PATCH 12/63] Fix broken link
---
source/_components/alarm_control_panel.manual_mqtt.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_components/alarm_control_panel.manual_mqtt.markdown b/source/_components/alarm_control_panel.manual_mqtt.markdown
index be1508c676..5a1a7d139c 100644
--- a/source/_components/alarm_control_panel.manual_mqtt.markdown
+++ b/source/_components/alarm_control_panel.manual_mqtt.markdown
@@ -58,7 +58,7 @@ The following configuration variables from the base manual alarm platform are av
- **pending_time** (*Optional*): State specific setting for **pending_time** (all states except **disarmed**)
- **trigger_time** (*Optional*): State specific setting for **trigger_time** (all states except **triggered**)
-See the documentation for the [manual alarm platform](/component/alarm_control_panel.manual/) for a description.
+See the documentation for the [manual alarm platform](/components/alarm_control_panel.manual/) for a description.
Additionally, the following MQTT configuration variables are also available:
From 8e240240c5171fe4bd11b4e839e5a99a85f858dd Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen
Date: Fri, 16 Feb 2018 09:30:10 -0800
Subject: [PATCH 13/63] Updat deprecation notice
---
.../2017-10-06-deprecating-python-3.4-support.markdown | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/source/_posts/2017-10-06-deprecating-python-3.4-support.markdown b/source/_posts/2017-10-06-deprecating-python-3.4-support.markdown
index 8d9364a143..7b053dd690 100644
--- a/source/_posts/2017-10-06-deprecating-python-3.4-support.markdown
+++ b/source/_posts/2017-10-06-deprecating-python-3.4-support.markdown
@@ -10,6 +10,11 @@ comments: true
categories: Technology
---
+**Update February 16, 2018**:
+Home Assistant 0.64 will be the last release to support Python 3.4. Starting with release 0.65, Home Assistant will require a minimum version of Python 3.5.3.
+
+---
+
Starting with our next release, 0.55, we will deprecate Python 3.4 support. The current plan is to remove support for Python 3.4 at the beginning of 2018.
Python 3.5 was released on September 13th, 2015. It has since then become the default Python installation on the stable releases of Debian, Ubuntu, Raspbian and Hassbian. Our other own operating system, Hass.io, is more advanced and is already running the greatly improved Python 3.6.
@@ -17,7 +22,7 @@ Python 3.5 was released on September 13th, 2015. It has since then become the de
The jump to Python 3.5 as a minimum version is driven by the Home Assistant core, which is based on asyncio. Starting with Python 3.5, asyncio got improved support in the language with dedicated keywords `async` and `await`. As this is the proper way of doing async in Python, we're seeing a move by async libraries to either only support the new syntax from the beginning or dropping support for the Python 3.4 approach. Not moving along means an increased maintenance burden as we cannot use the latest releases of our libraries. Next to that it will prevent our users from being able to leverage the bug fixes and performance improvements that come with Python 3.5.
#### Hass.io
-If you're running Hass.io, you don't have to do anything. Your system will always stay up to date.
+If you're running Hass.io, you don't have to do anything. Your system will always stay up to date.
#### Hassbian
If you're running Hassbian it's recommended that you make a backup of your configuration files and restore them on a fresh install. Upgrading an existing installation isn't recommended.
From 5d7f8f3b174624915a228419886fbd12db6d2f23 Mon Sep 17 00:00:00 2001
From: Otto Winter
Date: Fri, 16 Feb 2018 22:09:21 +0100
Subject: [PATCH 14/63] Fix demo links (#4686)
---
source/demo/frontend.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/demo/frontend.html b/source/demo/frontend.html
index 0cb5b14886..6cf41b7575 100644
--- a/source/demo/frontend.html
+++ b/source/demo/frontend.html
@@ -2,4 +2,4 @@
},_distributeDirtyRoots:function(){for(var e,t=this.shadyRoot._dirtyRoots,o=0,i=t.length;o0?~setTimeout(e,t):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.push(e),this._currVal++)},cancel:function(e){if(e<0)clearTimeout(~e);else{var t=e-this._lastVal;if(t>=0){if(!this._callbacks[t])throw"invalid async handle: "+e;this._callbacks[t]=null}}},_atEndOfMicrotask:function(){for(var e=this._callbacks.length,t=0;t