From 9e4cc48e0de50e7e8a86654f0124bce3a8edbd6f Mon Sep 17 00:00:00 2001
From: Klaas Schoute
Date: Sun, 19 May 2019 00:13:35 +0200
Subject: [PATCH 15/32] :pencil2: Fix broken link to appdaemon (#9478)
---
source/_docs/ecosystem/hadashboard.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_docs/ecosystem/hadashboard.markdown b/source/_docs/ecosystem/hadashboard.markdown
index 8f06247ee0d..9daa0518206 100755
--- a/source/_docs/ecosystem/hadashboard.markdown
+++ b/source/_docs/ecosystem/hadashboard.markdown
@@ -37,4 +37,4 @@ HADashboard is a modular, skinnable dashboard for [Home Assistant](/) that is in
Glassic Theme
-For full installation instructions see the HADashboard section in the [AppDaemon Project Documentation](http://appdaemon.readthedocs.io/en/stable/DASHBOARD_INSTALL.html). If you're using Hassbian, then the [Hassbian scripts](https://github.com/home-assistant/hassbian-scripts/blob/dev/docs/appdaemon.md) make it easy to install AppDaemon.
+For full installation instructions see the HADashboard section in the [AppDaemon Project Documentation](http://appdaemon.readthedocs.io/en/stable/DASHBOARD_INSTALL.html). If you're using Hassbian, then the [Hassbian scripts](https://github.com/home-assistant/hassbian-scripts/blob/dev/docs/suites/appdaemon.md) make it easy to install AppDaemon.
From de3d650417bfbb91f0812a7d477fd7c9ac159b21 Mon Sep 17 00:00:00 2001
From: Dominik Palo
Date: Sun, 19 May 2019 15:14:43 +0200
Subject: [PATCH 16/32] Fix link to the "DuckDNS suite" (#9487)
---
source/_docs/ecosystem/certificates/lets_encrypt.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_docs/ecosystem/certificates/lets_encrypt.markdown b/source/_docs/ecosystem/certificates/lets_encrypt.markdown
index bcbecfaccce..024044abddc 100644
--- a/source/_docs/ecosystem/certificates/lets_encrypt.markdown
+++ b/source/_docs/ecosystem/certificates/lets_encrypt.markdown
@@ -10,7 +10,7 @@ footer: true
---
-If you are using Hass.io or Hassbian, do not use this guide. Instead, use the [DuckDNS add-on](/addons/duckdns/) for Hass.io or the [DuckDNS suite](https://github.com/home-assistant/hassbian-scripts/blob/master/docs/duckdns.md) for Hassbian to automatically maintain a subdomain including HTTPS certificates via Let's Encrypt.
+If you are using Hass.io or Hassbian, do not use this guide. Instead, use the [DuckDNS add-on](/addons/duckdns/) for Hass.io or the [DuckDNS suite](https://github.com/home-assistant/hassbian-scripts/blob/master/docs/suites/duckdns.md) for Hassbian to automatically maintain a subdomain including HTTPS certificates via Let's Encrypt.
From 1d6d713ee9eb7160d9f18e102d8a3b1253726e52 Mon Sep 17 00:00:00 2001
From: Klaas Schoute
Date: Mon, 20 May 2019 13:12:22 +0200
Subject: [PATCH 17/32] :x: Remove epsonworkforce file (wrong location) (#9489)
---
source/components/epsonworkforce.markdown | 13 -------------
1 file changed, 13 deletions(-)
delete mode 100644 source/components/epsonworkforce.markdown
diff --git a/source/components/epsonworkforce.markdown b/source/components/epsonworkforce.markdown
deleted file mode 100644
index 9fa39a3d101..00000000000
--- a/source/components/epsonworkforce.markdown
+++ /dev/null
@@ -1,13 +0,0 @@
----
-layout: page
-title: "Epson Workforce"
-description: "Instructions on how to setup Epson Workforce with Home Assistant."
-date: 2019-04-24 07:00
-sidebar: true
-comments: false
-sharing: true
-footer: true
-ha_release: 0.92
----
-
-The Epson workforce integration.
From f3c6ba044f4d66239dc29bf3e7ee91f21653497e Mon Sep 17 00:00:00 2001
From: Klaas Schoute
Date: Mon, 20 May 2019 13:27:24 +0200
Subject: [PATCH 18/32] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Google=20pub/sub=20-?=
=?UTF-8?q?=20Filter=20is=20required=20(#9479)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* :pencil: Google pub/sub - Filter is required
* There is no default for required keys
---
source/_components/google_pubsub.markdown | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/source/_components/google_pubsub.markdown b/source/_components/google_pubsub.markdown
index f644e671fe3..52413354f72 100644
--- a/source/_components/google_pubsub.markdown
+++ b/source/_components/google_pubsub.markdown
@@ -55,9 +55,8 @@ credentials_json:
type: string
filter:
description: Filter domains and entities for Google Cloud Pub/Sub.
- required: false
+ required: true
type: map
- default: Includes all entities from all domains
keys:
include_domains:
description: List of domains to include (e.g., `light`).
From 9c2bbfd1ec020e8ed10a6e7ba98184040d4397fa Mon Sep 17 00:00:00 2001
From: Fabian Affolter
Date: Wed, 22 May 2019 21:45:13 +0200
Subject: [PATCH 19/32] Update monitored_conditions (#9385)
* Update monitored_conditions
* Fix lint
* Add missing colons
---
source/_components/iqvia.markdown | 54 +++++++++++++++----------------
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/source/_components/iqvia.markdown b/source/_components/iqvia.markdown
index cb04396076a..12969ba0c89 100644
--- a/source/_components/iqvia.markdown
+++ b/source/_components/iqvia.markdown
@@ -17,7 +17,7 @@ redirect_from:
- /components/pollen/
---
-The `iqvia` sensor platform collects and displays allergy, asthma, and disease
+The `iqvia` sensor platform collects and displays allergy, asthma and disease
information (based on a U.S. ZIP code) from [IQVIA](https://www.iqvia.com/).
Data measured includes:
@@ -39,25 +39,39 @@ iqvia:
- allergy_average_forecasted
- allergy_index_today
- allergy_index_tomorrow
- - allergy_index_yesterday
- asthma_average_forecasted
- asthma_index_today
- asthma_index_tomorrow
- - asthma_index_yesterday
- disease_average_forecasted
- disease_index_today
- - disease_index_yesterday
```
{% configuration %}
- zip_code:
- description: the U.S. ZIP code to gather data for (as a quoted string)
- required: true
- type: string
- monitored_conditions:
- description: the metric types to monitor; valid values are specified below
- required: true
- type: list
+zip_code:
+ description: The U.S. ZIP code to gather data for (as a quoted string).
+ required: true
+ type: string
+monitored_conditions:
+ description: The metric types to monitor.
+ required: true
+ type: list
+ keys:
+ allergy_average_forecasted:
+ description: "The average forecasted allergy index over the next 5 days."
+ allergy_index_today:
+ description: "The allergy index for today."
+ allergy_index_tomorrow:
+ description: "The allergy index for tomorrow."
+ asthma_average_forecasted:
+ description: "The average forecasted asthma index over the next 5 days."
+ asthma_index_today:
+ description: "The asthma index for today."
+ asthma_index_tomorrow:
+ description: "The asthma index for tomorrow."
+ disease_average_forecasted:
+ description: "The average forecasted cold/flu index over the next 5 days."
+ disease_index_today:
+ description: "The cold/flu index for today."
{% endconfiguration %}
@@ -65,22 +79,6 @@ It is important to ensure the ZIP code is quoted if it starts with a 0. Unquoted
ZIP codes that start with 0 will cause errors.
-## {% linkable_title Available Metrics %}
-
-The following metrics can be monitored:
-
-* Allergy Index: Forecasted Average (`allergy_average_forecasted`): the average forecasted allergy index over the next 5 days
-* Allergy Index: Today (`allergy_index_today`): the allergy index for today
-* Allergy Index: Tomorrow (`allergy_index_tomorrow`): the allergy index for tomorrow
-* Allergy Index: Yesterday (`allergy_index_yesterday`): the allergy index for yesterday
-* Asthma Index: Forecasted Average (`asthma_average_forecasted`): the average forecasted asthma index over the next 5 days
-* Asthma Index: Today (`asthma_index_today`): the asthma index for today
-* Asthma Index: Tomorrow (`asthma_index_tomorrow`): the asthma index for tomorrow
-* Asthma Index: Yesterday (`asthma_index_yesterday`): the asthma index for yesterday
-* Cold & Flu: Forecasted Average (`disease_average_forecasted`): the average forecasted cold/flu index over the next 5 days
-* Cold & Flu Index: Today (`disease_index_today`): the cold/flu index for today
-* Cold & Flu Index: Yesterday (`disease_index_yesterday`): the cold/flu index for yesterday
-
## {% linkable_title Understanding the Indices %}
Any index-related sensor will have a value between 0.0 and 12.0. The values
From 9598d3cc8ccb39d505e8627a6f9a7227c23e2875 Mon Sep 17 00:00:00 2001
From: Fabian Affolter
Date: Wed, 22 May 2019 22:44:58 +0200
Subject: [PATCH 20/32] Add UE46ES5500 (fixes #9495) (#9501)
---
source/_components/samsungtv.markdown | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/source/_components/samsungtv.markdown b/source/_components/samsungtv.markdown
index f1368c96cad..9ea5d6c3fdc 100644
--- a/source/_components/samsungtv.markdown
+++ b/source/_components/samsungtv.markdown
@@ -16,11 +16,13 @@ redirect_from:
- /components/media_player.samsungtv/
---
-The `samsungtv` platform allows you to control a
-[Samsung Smart TV](http://www.samsung.com/uk/consumer/tv-audio-video/televisions/).
+The `samsungtv` platform allows you to control a [Samsung Smart TV](http://www.samsung.com/uk/consumer/tv-audio-video/televisions/).
-When the TV is first connected,
-you will need to accept Home Assistant on the TV to allow communication.
+### {% linkable_title Setup %}
+
+When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication.
+
+### {% linkable_title Configuration %}
To add a TV to your installation without relying on the [discovery component](/components/discovery/), add the following to your `configuration.yaml` file:
@@ -28,7 +30,7 @@ To add a TV to your installation without relying on the [discovery component](/c
# Example configuration.yaml entry
media_player:
- platform: samsungtv
- host: 192.168.0.10
+ host: IP_ADDRESS
```
{% configuration %}
@@ -100,6 +102,7 @@ Currently known supported models:
- UE6199UXZG (port must be set to 8001, On/Off, Forward/Backward, Volume control, but no Play button)
- UE65KS8005 (port must be set to 8001, On/Off, Forward/Backward, Volume are OK, but no Play button)
- UE49KU6470 (port must be set to 8001, On/Off, Forward/Backward, Volume are OK, but no Play button)
+- UE46ES5500 (partially supported, turn on doesn't works)
Currently tested but not working models:
@@ -116,16 +119,11 @@ Currently tested but not working models:
- MU6125 - Unable to see state and unable to control (Tested on UE58MU6125 on port 8001 and 8801)
- MU6300 - Port set to 8001, `pip3 install websocket-client` must be executed, turning on works, status not working reliably, turning off is not permanent (it comes back on)
-None of the 2014 (H) and 2015 (J) model series (e.g., J5200) will work,
-since Samsung have used a different (encrypted) type of interface for these.
+None of the 2014 (H) and 2015 (J) model series (e.g., J5200) will work, since Samsung have used a different (encrypted) type of interface for these.
-If your model is not on the list then give it a test,
-if everything works correctly then add it to the list on
+If your model is not on the list then give it a test, if everything works correctly then add it to the list on
[GitHub](https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/samsungtv.markdown).
-The first letter (U, P, L, H & K) represent the screen type, e.g., LED or
-Plasma. The second letter represents the region, E is Europe, N is North America
-and A is Asia & Australia.
-The two numbers following that represent the screen size.
+The first letter (U, P, L, H & K) represent the screen type, e.g., LED or Plasma. The second letter represents the region, E is Europe, N is North America and A is Asia & Australia. The two numbers following that represent the screen size.
If you add your model remember to remove these first 4 characters before adding to the list.
Changing channels can be done by calling the `media_player.play_media` service
From 68b52b73655fb6290187b4b32b0297af03d6c6c4 Mon Sep 17 00:00:00 2001
From: Fabian Affolter
Date: Wed, 22 May 2019 23:03:47 +0200
Subject: [PATCH 21/32] Add Arch Linux package list (fixes #9455) (#9502)
---
source/hassio/installation.markdown | 42 ++++++++++++++++++-----------
1 file changed, 27 insertions(+), 15 deletions(-)
diff --git a/source/hassio/installation.markdown b/source/hassio/installation.markdown
index bef555bf76c..2ff644bea37 100644
--- a/source/hassio/installation.markdown
+++ b/source/hassio/installation.markdown
@@ -95,12 +95,14 @@ If you would like to test next release before anyone else, you can install the b
3. Select _System_ from the _Hass.io_ menu, then select _Join Beta Channel_ under _Hass.io supervisor_, then select _Reload_.
4. Select _Dashboard_ from the _Hass.io_ menu, and then select _Update_.
-## {% linkable_title Alternative: install on generic Linux server %}
+## {% linkable_title Alternative: install on a generic Linux host %}
For advanced users, it is also possible to try Hass.io on your [Linux server or inside a virtual machine][linux].
-Examples given here are tested on Ubuntu, but the instructions should work as a guideline for installing on other Linux distrubutions.
+Examples given here are tested on Ubuntu and Arch Linux, but the instructions should work as a guideline for installing on other Linux distrubutions.
-This is the list of packages you need to have available on your system that will run Hass.io if you are using Debian/Ubuntu:
+The packages you need to have available on your system that will run Hass.io may vary.
+
+### {% linkable_title Debian/Ubuntu %}
- apparmor-utils
- apt-transport-https
@@ -113,6 +115,17 @@ This is the list of packages you need to have available on your system that will
- socat
- software-properties-common
+### {% linkable_title Arch Linux %}
+
+ - apparmor
+ - avahi
+ - ca-certificates
+ - curl
+ - dbus
+ - docker
+ - jq
+ - socat
+
You also need to have Docker-CE installed. There are well-documented procedures for installing Docker on Ubuntu at [Docker.com](https://docs.docker.com/install/linux/docker-ce/ubuntu/), you can find installation steps for your Linux distribution in the menu on the left.
@@ -120,22 +133,21 @@ You also need to have Docker-CE installed. There are well-documented procedures
Be sure to install the official Docker-CE from the above listed URL.
-To perform the Hass.io installation, run the following commands:
+To perform the Hass.io installation on Ubuntu, run the following commands:
```bash
-sudo -i
+$ sudo -i
+# apt-get install software-properties-common
+# add-apt-repository universe
+# apt-get update
+# apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
+# curl -fsSL get.docker.com | sh
+```
-apt-get install software-properties-common
+And to intall Hass.io the one below. That one is used also for other distributions.
-add-apt-repository universe
-
-apt-get update
-
-apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
-
-curl -fsSL get.docker.com | sh
-
-curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
+```bash
+# curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
```
From 5df1565f163167921e5c62170e50f755cc54c89a Mon Sep 17 00:00:00 2001
From: Claudio Barca
Date: Wed, 22 May 2019 23:04:27 +0200
Subject: [PATCH 22/32] Add note for ARM architecture (#9497)
* Add note for ARM architecture
* Minor change
---
source/_docs/installation/docker.markdown | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/source/_docs/installation/docker.markdown b/source/_docs/installation/docker.markdown
index 01bf2e37a54..f9c7affff37 100644
--- a/source/_docs/installation/docker.markdown
+++ b/source/_docs/installation/docker.markdown
@@ -49,7 +49,8 @@ $ docker run --init -d --name="home-assistant" -v /PATH_TO_YOUR_CONFIG:/config -
```
When running Home Assistant in Docker on Windows, you may have some difficulty getting ports to map for routing (since the `--net=host` switch actually applies to the hypervisor's network interface). To get around this, you will need to add port proxy ipv4 rules to your local Windows machine, like so (Replacing '192.168.1.10' with whatever your Windows IP is, and '10.0.50.2' with whatever your Docker container's IP is):
-```
+
+```bash
netsh interface portproxy add v4tov4 listenaddress=192.168.1.10 listenport=8123 connectaddress=10.0.50.2 connectport=8123
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=8123 connectaddress=10.0.50.2 connectport=8123
```
@@ -125,7 +126,8 @@ The steps would be:
- Install "Container Station" package on your Qnap NAS
- Launch Container Station and move to "Create Container"-section
- - Search image "homeassistant/home-assistant" with Docker hub and click on "Install"
+ - Search image "homeassistant/home-assistant" with Docker hub and click on "Install"
+ Make attention to CPU architecture of your NAS. For ARM CPU types the correct image is "homeassistant/armhf-homeassistant"
- Choose "latest" version and click next
- Choose a container-name you want (e.g., "homeassistant")
- Click on "Advanced Settings"
From 0825525a01dc4efa9e6fc224b716425b4679d50a Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen
Date: Thu, 23 May 2019 11:03:31 -0700
Subject: [PATCH 23/32] Release 93.2
---
_config.yml | 4 ++--
source/_posts/2019-05-16-release-93.markdown | 25 ++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/_config.yml b/_config.yml
index 05a445c3601..d5aa5c751ed 100644
--- a/_config.yml
+++ b/_config.yml
@@ -139,8 +139,8 @@ social:
# Home Assistant release details
current_major_version: 0
current_minor_version: 93
-current_patch_version: 1
-date_released: 2019-05-17
+current_patch_version: 2
+date_released: 2019-05-22
# Either # or the anchor link to latest release notes in the blog post.
# Must be prefixed with a # and have double quotes around it.
diff --git a/source/_posts/2019-05-16-release-93.markdown b/source/_posts/2019-05-16-release-93.markdown
index bae22fde63f..685225332f2 100644
--- a/source/_posts/2019-05-16-release-93.markdown
+++ b/source/_posts/2019-05-16-release-93.markdown
@@ -118,6 +118,31 @@ For those of you that like to power down your Sonos, Home Assistant should now h
[honeywell docs]: /components/honeywell/
[onvif docs]: /components/onvif/
+## {% linkable_title Release 0.93.2 - May 22 %}
+
+- Fix auto version update Hass.io ([@pvizeli] - [#23935])
+- Bump pytraccar ([@ludeeus] - [#23939]) ([traccar docs])
+- Fixes issue with multiple alerts ([@ludeeus] - [#23945]) ([alert docs])
+- Setup integration dependencies before loading it ([@aerialls] - [#23957])
+- Make Discord payload data key not required ([@cyrosy] - [#23964]) ([discord docs])
+- upgrade broadlink library ([@Danielhiversen] - [#23966]) ([broadlink docs])
+
+[#23935]: https://github.com/home-assistant/home-assistant/pull/23935
+[#23939]: https://github.com/home-assistant/home-assistant/pull/23939
+[#23945]: https://github.com/home-assistant/home-assistant/pull/23945
+[#23957]: https://github.com/home-assistant/home-assistant/pull/23957
+[#23964]: https://github.com/home-assistant/home-assistant/pull/23964
+[#23966]: https://github.com/home-assistant/home-assistant/pull/23966
+[@Danielhiversen]: https://github.com/Danielhiversen
+[@aerialls]: https://github.com/aerialls
+[@cyrosy]: https://github.com/cyrosy
+[@ludeeus]: https://github.com/ludeeus
+[@pvizeli]: https://github.com/pvizeli
+[alert docs]: /components/alert/
+[broadlink docs]: /components/broadlink/
+[discord docs]: /components/discord/
+[traccar docs]: /components/traccar/
+
## {% linkable_title If you need help... %}
...don't hesitate to use our very active [forums](https://community.home-assistant.io/) or join us for a little [chat](https://discord.gg/c5DvZ4e). The release notes have comments enabled but it's preferred if you use the former communication channels. Thanks.
From bad2816aadad35637924db8d82b3513d65625471 Mon Sep 17 00:00:00 2001
From: Joost Boomkamp
Date: Fri, 24 May 2019 10:02:25 +0200
Subject: [PATCH 24/32] tiny typo (#9511)
---
source/_docs/ecosystem/nginx_subdomain.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_docs/ecosystem/nginx_subdomain.markdown b/source/_docs/ecosystem/nginx_subdomain.markdown
index 64831bd8194..2c15ad8d7fb 100644
--- a/source/_docs/ecosystem/nginx_subdomain.markdown
+++ b/source/_docs/ecosystem/nginx_subdomain.markdown
@@ -64,7 +64,7 @@ You want another instance available at https://countryside.example.org
You can either :
* Create a new user, `bob`, to hold the configuration file in `/home/bob/.homeassistant/configuration.yaml` and run Home Assistant as this new user
- * Create another configuration directory in `/home/alice/.homeassistan2/configuration.yaml` and run Home Assistant using `hass --config /home/alice/.homeassistant2/`
+ * Create another configuration directory in `/home/alice/.homeassistant2/configuration.yaml` and run Home Assistant using `hass --config /home/alice/.homeassistant2/`
In both solution, change port number used by modifying `configuration.yaml` file.
From 13e2a2d0d57119c36557fbafbcbd01e3a03ae442 Mon Sep 17 00:00:00 2001
From: Honza Slesinger
Date: Tue, 28 May 2019 14:15:22 +0200
Subject: [PATCH 25/32] Fixing service name to call (#9524)
---
source/_components/python_script.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_components/python_script.markdown b/source/_components/python_script.markdown
index b6ff87d258e..574a426b159 100644
--- a/source/_components/python_script.markdown
+++ b/source/_components/python_script.markdown
@@ -38,7 +38,7 @@ hass.bus.fire(name, { "wow": "from a Python script!" })
```
- Start Home Assistant
- - Call service `python_script/hello_world` with parameters
+ - Call service `python_script.hello_world` with parameters
```json
{
From f8349115ffc18b6a0f8bf9f119825b13e1597cd2 Mon Sep 17 00:00:00 2001
From: Dylan
Date: Tue, 28 May 2019 08:16:45 -0400
Subject: [PATCH 26/32] adding icon_template example (#9527)
---
.../binary_sensor.template.markdown | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/source/_components/binary_sensor.template.markdown b/source/_components/binary_sensor.template.markdown
index a5648394bca..71cb01894b7 100644
--- a/source/_components/binary_sensor.template.markdown
+++ b/source/_components/binary_sensor.template.markdown
@@ -215,3 +215,30 @@ binary_sensor:
or is_state('binary_sensor.family_room_144', 'on') }}
```
{% endraw %}
+
+### {% linkable_title Change the icon when state changes %}
+
+This example demonstrates how to use `icon_template` to change the entity's
+icon as its state changes, it evaluates the state of its own sensor and uses a
+conditional statement to output the appropriate icon.
+
+
+{% raw %}
+```yaml
+sun:
+binary_sensor:
+ - platform: template
+ sensors:
+ sun_up:
+ entity_id:
+ - sun.sun
+ value_template: >-
+ {{ is_state("sun.sun", "above_horizon") }}
+ icon_template: >-
+ {% if is_state("binary_sensor.sun_up", "on") %}
+ mdi:weather-sunset-up
+ {% else %}
+ mdi:weather-sunset-down
+ {% endif %}
+```
+{% endraw %}
From dda0e1af18483e1c962926f31506d433fe4a6b49 Mon Sep 17 00:00:00 2001
From: Jef D
Date: Tue, 28 May 2019 14:44:18 +0200
Subject: [PATCH 27/32] Link to where the parameters can typically be found
(#9526)
* Link to where the parameters can typically be found
* Update link
---
source/_docs/scripts/service-calls.markdown | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source/_docs/scripts/service-calls.markdown b/source/_docs/scripts/service-calls.markdown
index 6a706456f13..616ef6ffd3e 100644
--- a/source/_docs/scripts/service-calls.markdown
+++ b/source/_docs/scripts/service-calls.markdown
@@ -41,6 +41,8 @@ data:
rgb_color: [255, 0, 0]
```
+A full list of the parameters for a service can be found on the documentation page of each component, in the same way as it's done for the `light.turn_on` [service](/components/light/#service-lightturn_on).
+
### {% linkable_title Use templates to decide which service to call %}
You can use [templating] support to dynamically choose which service to call. For example, you can call a certain service based on if a light is on.
From 110d939767d53560ae3cc40074ca4bae10e71860 Mon Sep 17 00:00:00 2001
From: Klaas Schoute
Date: Wed, 29 May 2019 10:18:13 +0200
Subject: [PATCH 28/32] =?UTF-8?q?=20=E2=9C=8F=EF=B8=8F=20Extra=20info=20fo?=
=?UTF-8?q?r=20DB=20size=20sensor=20(#9528)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* :pencil2: Extra info for a good working sensor
* Minor change
---
source/_components/sql.markdown | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source/_components/sql.markdown b/source/_components/sql.markdown
index bf3ba0cfb08..a2ee887e342 100644
--- a/source/_components/sql.markdown
+++ b/source/_components/sql.markdown
@@ -131,6 +131,8 @@ sensor:
#### {% linkable_title MariaDB/MySQL %}
+Change `table_schema="hass"` to the name that you use as the database name, to ensure that your sensor will work properly.
+
{% raw %}
```yaml
sensor:
From ff5ce7bfec26050409a32f2067cb78bf5ea413a7 Mon Sep 17 00:00:00 2001
From: jeff-h
Date: Wed, 29 May 2019 20:25:59 +1200
Subject: [PATCH 29/32] Add camera example. (#9521)
* Add camera example.
* :pencil2: Tweak
* :pencil2: Tweak
* Needs raw
---
source/_lovelace/picture-entity.markdown | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/source/_lovelace/picture-entity.markdown b/source/_lovelace/picture-entity.markdown
index 792ea1ab73f..e375c25a9cb 100644
--- a/source/_lovelace/picture-entity.markdown
+++ b/source/_lovelace/picture-entity.markdown
@@ -132,3 +132,21 @@ state_image:
"on": /local/bed_light_on.png
"off": /local/bed_light_off.png
```
+
+Displaying a live feed from an FFMPEG camera:
+
+{% raw %}
+```yaml
+type: picture-entity
+entity: camera.backdoor
+camera_view: live
+tap_action:
+ action: call-service
+ service: camera.snapshot
+ service_data:
+ entity_id: camera.backdoor
+ filename: '/shared/backdoor-{{ now().strftime("%Y-%m-%d-%H%M%S") }}.jpg'
+```
+{% endraw %}
+
+The filename needs to be a path that is writable by Home Assistant in your system. You may need to configure `whitelist_external_dirs` ([documentation](https://www.home-assistant.io/docs/configuration/basic/)).
From 7733304ca79b2980bf25ae3f293e1cfe3a6a8854 Mon Sep 17 00:00:00 2001
From: Ian
Date: Wed, 29 May 2019 09:27:42 -0500
Subject: [PATCH 30/32] Update travis.yml
Recent compartmentalization of the HASS install has caused some things to break within Travis, and [this fix has been demonstrated to correct the issue](https://github.com/Apocrathia/home-assistant-config/pull/25).
---
source/_docs/ecosystem/backup/backup_github.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/source/_docs/ecosystem/backup/backup_github.markdown b/source/_docs/ecosystem/backup/backup_github.markdown
index 497b788520c..397b7cbc608 100644
--- a/source/_docs/ecosystem/backup/backup_github.markdown
+++ b/source/_docs/ecosystem/backup/backup_github.markdown
@@ -162,6 +162,7 @@ python:
- "3.5"
before_install:
- mv travis_secrets.yaml secrets.yaml
+ - sudo apt-get install -y libudev-dev
install:
- pip3 install homeassistant
script:
From 538bf59b5c7ea05bcf6066c303845d87490890db Mon Sep 17 00:00:00 2001
From: Koen Ekelschot
Date: Wed, 29 May 2019 20:23:57 +0200
Subject: [PATCH 31/32] Fix new log entry example
---
source/_components/system_log.markdown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/source/_components/system_log.markdown b/source/_components/system_log.markdown
index 79229d5cdc8..3096336ea0f 100644
--- a/source/_components/system_log.markdown
+++ b/source/_components/system_log.markdown
@@ -141,8 +141,9 @@ automation:
to: 'on'
action:
service: system_log.write
- message: 'Door opened!'
- level: info
+ data_template:
+ message: 'Door opened!'
+ level: info
```
{% endraw %}
From 89d2eac7135d7cd9c4588129d703557e30e9b2b7 Mon Sep 17 00:00:00 2001
From: IIIdefconIII
Date: Wed, 29 May 2019 22:33:22 +0200
Subject: [PATCH 32/32] Update apache.markdown
---
source/_docs/ecosystem/apache.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/_docs/ecosystem/apache.markdown b/source/_docs/ecosystem/apache.markdown
index 92c27eb51a7..ec06ed63eb9 100644
--- a/source/_docs/ecosystem/apache.markdown
+++ b/source/_docs/ecosystem/apache.markdown
@@ -28,7 +28,7 @@ Enable [`mod_proxy_wstunnel`](https://httpd.apache.org/docs/2.4/mod/mod_proxy_ws
$ sudo a2enmod proxy_wstunnel
```
-To be able to access to your Home Assistant instance by using https://home.example.org, add to following file to `/etc/httpd/conf/extra/` as `hass.conf`
+To be able to access to your Home Assistant instance by using https://home.example.org, add the following file to `/etc/httpd/conf/extra/` as `hass.conf`
```text