Merge branch 'current' into next

This commit is contained in:
Paulus Schoutsen 2019-01-04 13:49:27 -05:00
commit 431854d90c
17 changed files with 88 additions and 38 deletions

View File

@ -11,6 +11,16 @@ footer: true
You can use this add-on to check whether your configuration files are valid against the new version of Home Assistant before you actually update your Home Assistant installation. This add-on will help you avoid errors due to breaking changes, resulting in a smooth update. You can use this add-on to check whether your configuration files are valid against the new version of Home Assistant before you actually update your Home Assistant installation. This add-on will help you avoid errors due to breaking changes, resulting in a smooth update.
### {% linkable_title How to use this add-on %}
1. Just start the add-on.
2. Wait (On a Raspberry Pi it can take several minutes).
3. If you see the following output then you are good to go to update Home Assistant: `[Info] Configuration check finished - no error found! :)`.
If you get errors, then you should look for **Breaking Changes** against the version you specified for this add-on and change your configuration accordingly.
### {% linkable_title Add-on configuration %}
```json ```json
{ {
"version": "latest" "version": "latest"

View File

@ -55,6 +55,24 @@ This add-on is attached to the Home Assistant user system, so mqtt clients can m
To use the Mosquitto as [broker](/docs/mqtt/broker/#run-your-own), go to the integration page and install the configuration with one click. If you have old MQTT settings available, remove this old integration and restart Home Assistant to see the new one. To use the Mosquitto as [broker](/docs/mqtt/broker/#run-your-own), go to the integration page and install the configuration with one click. If you have old MQTT settings available, remove this old integration and restart Home Assistant to see the new one.
#### {% linkable_title Using Mosquitto with Hass.io %}
1. Install the [Mosquitto add-on](https://www.home-assistant.io/addons/mosquitto/) with the default configuration via 'Hass.io > ADD-ON STORE'. (Don't forget to start the add-on & verify that 'Start on boot' is enabled.)
2. Create a new user for MQTT via the `Configuration > Users (manage users)`. (Note: This name cannot be "homeassistant" or "addon")
3. Once back on-line, return to `Configuration > Integrations` and select configure next to `MQTT`.
```
Broker: YOUR_HASSIO_IP_ADDRESS
Port: 1883
Username: MQTT_USERNAME
Password: MQTT_PASSWORD
```
Note: .yaml modifications are not required.
See [testing your setup](https://www.home-assistant.io/docs/mqtt/testing/) to verify the steps above.
### {% linkable_title Disable listening on insecure (1883) ports %} ### {% linkable_title Disable listening on insecure (1883) ports %}
Remove the ports from the add-on page network card (set them as blank) to disable them. Remove the ports from the add-on page network card (set them as blank) to disable them.

View File

@ -197,3 +197,7 @@ binary_sensor:
payload_on: "1" payload_on: "1"
payload_off: "0" payload_off: "0"
``` ```
<<<<<<< HEAD
=======
>>>>>>> current

View File

@ -115,7 +115,7 @@ determine if the furnace is running by checking that it is over some threshold:
{% raw %} {% raw %}
```yaml ```yaml
sensor: binary_sensor:
- platform: template - platform: template
sensors: sensors:
furnace_on: furnace_on:

View File

@ -35,11 +35,11 @@ doorbird:
{% configuration %} {% configuration %}
token: token:
description: Token to be used to authenticate Doorbird calls to Home Assistant. description: Token to be used to authenticate Doorbird calls to Home Assistant. This can be obtained from your "Digital Passport" document provided with your Doorbird.
required: true required: true
type: string type: string
devices: devices:
description: List of doorbird devices. description: List of Doorbird devices.
required: true required: true
type: list type: list
keys: keys:
@ -48,7 +48,7 @@ devices:
required: true required: true
type: string type: string
username: username:
description: The username of a non-administrator user account on the device. This user needs the "API-Operator" permission enabled on doorbird. description: The username of a non-administrator user account on the device. This user needs the "API-Operator" permission enabled on Doorbird. It is recommended to set up a new account on your Doorbird for use with Home Assistant. This can be added via the Doorbird App by choosing Administration -> (User) Add. When the new account is created, you will need to enable the permission "API-Operator" in the "permissions" option.
required: true required: true
type: string type: string
password: password:
@ -69,7 +69,7 @@ devices:
type: string type: string
keys: keys:
doorbell: doorbell:
description: Monitor doorbell events description: Monitor doorbell events.
motion: motion:
description: Monitor motion events (Motion monitoring must be enabled on the doorstation via DoorBird app). description: Monitor motion events (Motion monitoring must be enabled on the doorstation via DoorBird app).
{% endconfiguration %} {% endconfiguration %}
@ -114,7 +114,8 @@ Please note that clearing device registrations will prevent the device from send
</p> </p>
#### {% linkable_title Event Data %} #### {% linkable_title Event Data %}
Each event includes live image and live video URLs for the Doorbird device that triggered the event. These URLs can be found on the event data and can be useful in automation actions. For example, you could use `html5_viewer_url` on a notification to be linked directly to the live view of the device that triggered the automation.
Each event includes live image and video URLs for the Doorbird device that triggered the event. These URLs can be found on the event data and can be useful in automation actions. For example, you could use `html5_viewer_url` on a notification to be linked directly to the live view of the device that triggered the automation.
<p class="note"> <p class="note">
The URLs on the event will be based on the configuration used to connect to your Doorbird device. Ability to connect from outside your network will depend on your configuration. The URLs on the event will be based on the configuration used to connect to your Doorbird device. Ability to connect from outside your network will depend on your configuration.

View File

@ -17,7 +17,7 @@ redirect_from:
The [Fibaro](http://fibaro.com) hub is a controller mainly connecting to Z-Wave devices. The [Fibaro](http://fibaro.com) hub is a controller mainly connecting to Z-Wave devices.
Binary sensors, switches, lights (including Dimmers), locks, sensors, binary sensors and covers are supported and will be automatically added when Home Assistant connects to your Fibaro controller. Binary sensors, switches, lights (including Dimmers), locks, sensors and covers are supported and will be automatically added when Home Assistant connects to your Fibaro controller.
## {% linkable_title Configuration %} ## {% linkable_title Configuration %}

View File

@ -53,6 +53,8 @@ Since release 0.80, the `Authorization Code` type of `OAuth` account linking is
<p class='note'> <p class='note'>
If you've added Home Assistant to the home screen, you have to first remove it from home screen, otherwise, this HTML5 app will show up instead of a browser. Using it would prevent Home Assistant to redirect back to the `Google Assistant` app. If you've added Home Assistant to the home screen, you have to first remove it from home screen, otherwise, this HTML5 app will show up instead of a browser. Using it would prevent Home Assistant to redirect back to the `Google Assistant` app.
If you're still having trouble, make sure that you're not connected to the same network Home Assistant is running on, e.g., use 4G/LTE instead.
</p> </p>
## {% linkable_title First time setup %} ## {% linkable_title First time setup %}
@ -62,7 +64,7 @@ You need to create an API Key with the [Google Cloud API Console](https://consol
1. Create a new project in the [Actions on Google console](https://console.actions.google.com/). 1. Create a new project in the [Actions on Google console](https://console.actions.google.com/).
1. Add/Import a project and give it a name. 1. Add/Import a project and give it a name.
2. Click on the `Home Control` card, select the `Smart home` recommendation. 2. Click on the `Home Control` card, select the `Smart home` recommendation.
3. Create an Action, under the build section. Add your Home Assistant URL: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / IP address and the port under which your Home Assistant is reachable. 3. Click `Build your Action`, select `Add Action(s)`, and click `Add your first action`. Add your Home Assistant URL: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / IP address and the port under which your Home Assistant is reachable.
4. Click `Done`. Then click on `Overview`, which will lead you back to the app details screen. 4. Click `Done`. Then click on `Overview`, which will lead you back to the app details screen.
2. `Account linking` is required for your app to interact with Home Assistant. Set this up under the `Quick Setup` section. 2. `Account linking` is required for your app to interact with Home Assistant. Set this up under the `Quick Setup` section.
1. Leave it at the default `No, I only want to allow account creation on my website` and select Next. 1. Leave it at the default `No, I only want to allow account creation on my website` and select Next.
@ -71,7 +73,7 @@ You need to create an API Key with the [Google Cloud API Console](https://consol
4. Client Secret: Anything you like, Home Assistant doesn't need this field. 4. Client Secret: Anything you like, Home Assistant doesn't need this field.
5. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/authorize`. 5. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/authorize`.
6. Token URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/token`. 6. Token URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/token`.
7. Configure your client. Add scopes for `email` and `name`. 7. Configure your client: Type `email` and click `Add scope`, then type `name` and click `Add scope` again.
8. Do **NOT** check `Google to transmit clientID and secret via HTTP basic auth header`. 8. Do **NOT** check `Google to transmit clientID and secret via HTTP basic auth header`.
9. Testing instructions: Enter anything. It doesn't matter since you won't submit this app. 9. Testing instructions: Enter anything. It doesn't matter since you won't submit this app.
@ -186,7 +188,7 @@ Currently, the following domains are available to be used with Google Assistant,
- lock (lock/unlock (to allow assistant to unlock, set the `allow_unlock` key in configuration)) - lock (lock/unlock (to allow assistant to unlock, set the `allow_unlock` key in configuration))
- cover (on/off/set position (via set brightness)) - cover (on/off/set position (via set brightness))
- media_player (on/off/set volume (via set brightness)/source (via set input source)) - media_player (on/off/set volume (via set brightness)/source (via set input source))
- climate (temperature setting) - climate (temperature setting, operation_mode)
- vacuum (dock/start/stop/pause) - vacuum (dock/start/stop/pause)
### {% linkable_title Media Player Sources %} ### {% linkable_title Media Player Sources %}
@ -196,8 +198,22 @@ There is currently a limitation with this feature that requires a hard-coded set
https://developers.google.com/actions/reference/smarthome/traits/modes https://developers.google.com/actions/reference/smarthome/traits/modes
#### Example Command: #### Example Command:
"Hey Google, change input source to TV on Living Room Receiver" "Hey Google, change input source to TV on Living Room Receiver"
### {% linkable_title Climate Operation Modes %}
There is not an exact 1-1 match between Home Assistant and Google Assistant for the available operation modes.
Here are the modes that are currently available:
- off
- heat
- cool
- heatcool (auto)
- fan-only
- dry
- eco
### {% linkable_title Troubleshooting the request_sync service %} ### {% linkable_title Troubleshooting the request_sync service %}
The request_sync service requires that the initial sync from Google includes the agent_user_id. If not, the service will log an error that reads something like "Request contains an invalid argument". If this happens, then [unlink the account](https://support.google.com/googlehome/answer/7506443) from Home Control and relink. The request_sync service requires that the initial sync from Google includes the agent_user_id. If not, the service will log an error that reads something like "Request contains an invalid argument". If this happens, then [unlink the account](https://support.google.com/googlehome/answer/7506443) from Home Control and relink.

View File

@ -59,7 +59,7 @@ devices:
type: boolean type: boolean
default: False default: False
model: model:
description: "Yeelight model. Possible values are `mono1`, `color1`, `strip1`, `bslamp1`, `ceiling1`, `ceiling2`, `ceiling3`, `ceiling4`. The setting is used to enable model specific features f.e. a particular color temperature range." description: "Yeelight model. Possible values are `mono1`, `color1`, `color2`, `strip1`, `bslamp1`, `ceiling1`, `ceiling2`, `ceiling3`, `ceiling4`. The setting is used to enable model specific features f.e. a particular color temperature range."
required: false required: false
type: string type: string
{% endconfiguration %} {% endconfiguration %}

View File

@ -102,6 +102,7 @@ Currently tested but not working models:
- J5200 - Unable to see state and unable to control - J5200 - Unable to see state and unable to control
- J5500 - State is always "on" and unable to control (but port 8001 *is* open) - J5500 - State is always "on" and unable to control (but port 8001 *is* open)
- J6200 - State is always "on" and unable to control (but port 8001 *is* open)
- J6300 - State is always "on" and unable to control (but port 8001 *is* open) - J6300 - State is always "on" and unable to control (but port 8001 *is* open)
- JS8005 - State tracking working but unable to control (but port 8001 *is* open) - JS8005 - State tracking working but unable to control (but port 8001 *is* open)
- JS9000 - State is always "on" and unable to control (but port 8001 *is* open) - JS9000 - State is always "on" and unable to control (but port 8001 *is* open)

View File

@ -12,7 +12,7 @@ ha_category: Text-to-speech
ha_release: 0.35 ha_release: 0.35
--- ---
The `google` text-to-speech platform uses [Google Text-to-Speech engine](https://console.developers.google.com/apis/api/speech.googleapis.com/overview) Text-to-Speech engine to read a text with natural sounding voices. The `google` text-to-speech platform uses [Google Text-to-Speech engine](https://console.developers.google.com/apis/library/texttospeech.googleapis.com) Text-to-Speech engine to read a text with natural sounding voices.
## {% linkable_title Configuration %} ## {% linkable_title Configuration %}

View File

@ -77,13 +77,14 @@ automation:
operation_mode: eco operation_mode: eco
``` ```
### {% linkable_title Service `water_heater.turn_away_mode_on` %} ### {% linkable_title Service `water_heater.set_away_mode` %}
Turn away mode on for water heater device Turn away mode on or off for water heater device
| Service data attribute | Optional | Description | | Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- | | ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of strings that point at `entity_id`'s of water heater devices to control. Else targets all. | `entity_id` | yes | String or list of strings that point at `entity_id`'s of water heater devices to control. Else targets all.
| `away_mode` | no | New value of away mode. 'on'/'off' or True/False
#### {% linkable_title Automation example %} #### {% linkable_title Automation example %}
@ -93,28 +94,8 @@ automation:
platform: time platform: time
at: "07:15:00" at: "07:15:00"
action: action:
- service: water_heater.turn_away_mode_on - service: water_heater.set_away_mode
data: data:
entity_id: water_heater.demo entity_id: water_heater.demo
away_mode: True
``` ```
### {% linkable_title Service `water_heater.turn_away_mode_off` %}
Trun away mode off for water heater device
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of strings that point at `entity_id`'s of water heater devices to control. Else targets all.
#### {% linkable_title Automation example %}
```yaml
automation:
trigger:
platform: time
at: "07:15:00"
action:
- service: water_heater.turn_away_mode_off
data:
entity_id: water_heater.demo
```

View File

@ -31,6 +31,8 @@ The `ios` component is the companion component for the Home Assistant iOS app. W
Loading the `ios` component will also load the [`device_tracker`](/components/device_tracker), [`zeroconf`](/components/zeroconf) and [`notify`](/components/notify) platforms. Loading the `ios` component will also load the [`device_tracker`](/components/device_tracker), [`zeroconf`](/components/zeroconf) and [`notify`](/components/notify) platforms.
In order to save credentials and adjust settings within the iOS Home Assistant app, the Optional (`api_password`)[https://www.home-assistant.io/components/http/#api_password] must be set.
## {% linkable_title Setup %} ## {% linkable_title Setup %}
### {% linkable_title Automated Setup %} ### {% linkable_title Automated Setup %}

View File

@ -63,3 +63,13 @@ If you want to stay on the bleeding-edge Home Assistant development branch, you
```bash ```bash
$ pip3 install --upgrade git+git://github.com/home-assistant/home-assistant.git@dev $ pip3 install --upgrade git+git://github.com/home-assistant/home-assistant.git@dev
``` ```
### {% linkable_title Update Hass.io installation %}
Best practice for updating a Hass.io installation:
1. Backup your installation, using the snapshot functionality Hass.io offers.
2. Check the release notes for breaking changes on [Home Assistant release notes](https://github.com/home-assistant/home-assistant/releases). Be sure to check all release notes between the version you are running and the one you are upgrading to. Use the search function in your browser (`CTRL + f`) and search for **Breaking Changes**.
3. Check your configuration using the [Check Home Assistant configuration](/addons/check_config/) add-on.
4. If the check passes, you can safely update. If not, update your configuration accordingly.
5. Update Home Assistant.

View File

@ -13,8 +13,13 @@ footer: true
History graph is a basic card, allowing you to display a graph for each of the entities in the list specified as config. History graph is a basic card, allowing you to display a graph for each of the entities in the list specified as config.
<p class='img'> <p class='img'>
<img src='/images/lovelace/lovelace_history_graph.png' alt='Screenshot of the history graph card'> <img src='/images/lovelace/lovelace_history_graph.png' alt='Screenshot of the history graph card for entities without a unit_of_measurement'>
Screenshot of the history graph card. Screenshot of the history graph card, when no `unit_of_measurement` is defined.
</p>
<p class='img'>
<img src='/images/lovelace/lovelace_history_graph_lines.png' alt='Screenshot of the history graph card for entities with a unit_of_measurement'>
Screenshot of the history graph card, when a `unit_of_measurement` is defined.
</p> </p>
{% configuration %} {% configuration %}

View File

@ -33,6 +33,8 @@ We have a new more reliable way of state restoration introduced by [@armills]. I
This comes with a downside: we will be unable to restore states the first time you start 0.84. This comes with a downside: we will be unable to restore states the first time you start 0.84.
This means that on upgrade to 0.84 any automation that doesn't have an `initial_state` defined **will be disabled**.
## {% linkable_title Improved service calling %} ## {% linkable_title Improved service calling %}
We have improved how we call services with better validation checks. This means that if you have an automation or a script that sends invalid data, we will now stop the execution and be better able to point out where your incorrect calls are coming from. We have improved how we call services with better validation checks. This means that if you have an automation or a script that sends invalid data, we will now stop the execution and be better able to point out where your incorrect calls are coming from.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 12 KiB