Skip to content

Commit 81f9dd1

Browse files
committed
Merge branch 'current' into next
2 parents ed10a98 + 7a4c9b2 commit 81f9dd1

29 files changed

+704
-80
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ social:
142142

143143
# Home Assistant release details
144144
current_major_version: 0
145-
current_minor_version: 49
146-
current_patch_version: 1
147-
date_released: 2017-07-24
145+
current_minor_version: 50
146+
current_patch_version: 0
147+
date_released: 2017-07-29
148148

149149
# Either # or the anchor link to latest release notes in the blog post.
150150
# Must be prefixed with a # and have double quotes around it.

source/_addons/ssh.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ footer: true
1010
featured: true
1111
---
1212

13-
Setting up an [SSH](https://openssh.org/) server allows access to your Hass.io folders with any SSH client. It include also a command-line tool to access the [Hass.io API](https://github.com/home-assistant/hassio/blob/dev/API.md). Try it out:
13+
Setting up an [SSH](https://openssh.org/) server allows access to your Hass.io folders with any SSH client. It also includes a command-line tool to access the [Hass.io API](https://github.com/home-assistant/hassio/blob/dev/API.md). Try it out:
14+
1415
```bash
1516
$ hassio help
1617
```

source/_components/alarm_control_panel.manual_mqtt.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ sharing: true
99
footer: true
1010
logo: home-assistant.png
1111
ha_category: Alarm
12-
ha_release: 0.49
12+
ha_release: 0.50
1313
---
1414

15-
This component extends the [manual alarm](/components/alarm_control_panel.manual/) by adding support for MQTT control of the alarm by a remote device. It can be used to create external keypads which simply change the state of the manual alarm in Home Assistant.
15+
This platform extends the [manual alarm](/components/alarm_control_panel.manual/) by adding support for MQTT control of the alarm by a remote device. It can be used to create external keypads which simply change the state of the manual alarm in Home Assistant.
1616

1717
It's essentially the opposite of the [MQTT Alarm Panel](/components/alarm_control_panel.mqtt/) which allows Home Assistant to observe an existing, fully-featured alarm where all of the alarm logic is embedded in that physical device.
1818

@@ -63,15 +63,15 @@ Refer to the [Manual Alarm Control page](/components/alarm_control_panel.manual/
6363
6464
## {% linkable_title MQTT Control %}
6565
66-
The state of this alarm can be controlled using [MQTT](/components/mqtt/). Ensure you've configured that before adding this component.
66+
The state of this alarm can be controlled using [MQTT](/components/mqtt/). Ensure you've configured that before adding this component.
6767
6868
To change the state of the alarm, publish one of the following messages to the `command_topic`:
6969

7070
- `DISARM`
7171
- `ARM_HOME`
7272
- `ARM_AWAY`
7373

74-
To receive state updates from HA, subscribe to the `state_topic`. HA will publish a new message whenever the state changes:
74+
To receive state updates from HA, subscribe to the `state_topic`. Home Assistant will publish a new message whenever the state changes:
7575

7676
- `disarmed`
7777
- `armed_home`

source/_components/binary_sensor.pilight.markdown

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: "Pilight Binary Sensor"
4-
description: "Instructions how to integrate pilight binary sensors within Home Assistant."
4+
description: "Instructions how to integrate Pilight binary sensors within Home Assistant."
55
date: 2017-03-24 20:41
66
sidebar: true
77
comments: false
@@ -13,8 +13,9 @@ ha_release: 0.44
1313
ha_iot_class: "Local Polling"
1414
---
1515

16-
This component implement the [pilight hub](https://github.com/home-assistant/home-assistant.github.io/source/_components/pilight.markdown) binary sensor functionality.
17-
Two type of pilight binary sensor configuration available. A normal sensor which send the on and off state cyclical and a trigger sensor which send only a trigger when an event happend (for example lots of cheap PIR motion detector) (see example configuration below).
16+
The `pilight` binary sensor platform implement the [pilight hub](/components/pilight/) binary sensor functionality. Two type of Pilight binary sensor configuration available. A normal sensor which send the on and off state cyclical and a trigger sensor which send only a trigger when an event happend (for example lots of cheap PIR motion detector).
17+
18+
To enable a Pilight binary sensor in your installation, add the following to your `configuration.yaml` file:
1819

1920
```yaml
2021
# Example configuration.yml entry

source/_components/binary_sensor.velbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
logo: velbus.png
1111
ha_category: Binary Sensor
1212
ha_iot_class: "Local Push"
13-
ha_release: 0.49
13+
ha_release: "0.50"
1414
---
1515

1616
The `velbus` binary_sensor allows you to control [Velbus](http://www.velbus.eu) connected wall switches.

source/_components/binary_sensor.xiaomi.markdown

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ The requirement is that you have setup the [`xiaomi` component](/components/xiao
4343
entity_id: sensor.illumination_34ce00xxxx11
4444
below: 300
4545
action:
46-
service: light.turn_on
47-
entity_id: light.gateway_light_34ce00xxxx11
48-
data:
49-
brightness: 5
46+
- service: light.turn_on
47+
entity_id: light.gateway_light_34ce00xxxx11
48+
data:
49+
brightness: 5
50+
- service: automation.turn_on
51+
data:
52+
entity_id: automation.MOTION_OFF
5053
- alias: If there no motion for 5 minutes turn off the gateway light
5154
trigger:
5255
platform: state
@@ -56,8 +59,11 @@ The requirement is that you have setup the [`xiaomi` component](/components/xiao
5659
for:
5760
minutes: 5
5861
action:
59-
service: light.turn_off
60-
entity_id: light.gateway_light_34ce00xxxx11
62+
- service: light.turn_off
63+
entity_id: light.gateway_light_34ce00xxxx11
64+
- service: automation.turn_off
65+
data:
66+
entity_id: automation.Motion_off
6167
```
6268
6369
#### {% linkable_title Door and/or Window %}

source/_components/config.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ comments: false
88
sharing: true
99
footer: true
1010
logo: home-assistant.png
11-
ha_category: Other
11+
ha_category: Front end
1212
ha_release: 0.39
1313
---
1414

source/_components/conversation.markdown

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ha_category: "Voice"
1212
---
1313

1414

15-
The conversation component can process sentences into commands for Home Assistant. It currently has built in functionality to recognize `turn <Friendly Name> <on/off>`, but custom phrases can be added through configuration.
15+
The `conversation` component can process sentences into commands for Home Assistant. It currently has built in functionality to recognize `turn <Friendly Name> <on/off>`, but custom phrases can be added through configuration.
1616

1717

1818
To enable the conversation option in your installation, add the following to your `configuration.yaml` file:
@@ -23,6 +23,7 @@ conversation:
2323
```
2424
2525
To add custom phrases to be recognized:
26+
2627
```yaml
2728
# Example configuration.yaml entry with custom phrasesconversation
2829
conversation:
@@ -32,11 +33,17 @@ conversation:
3233
service: input_boolean.toggle
3334
```
3435
35-
The action keyword uses [script
36-
syntax](https://home-assistant.io/docs/scripts/).
37-
36+
The action keyword uses [script syntax](https://home-assistant.io/docs/scripts/).
3837
38+
To use the `conversation` component with the [`shopping list` component](/components/shopping_list/) add an intent.
3939

40+
```yaml
41+
# Example configuration.yaml entry
42+
conversation:
43+
intents:
44+
ShoppingListAddItem:
45+
- Add {item} to my shopping list
46+
```
4047

4148
When this component is active and you are using a supported browser voice commands will be activated in the frontend. Browse to [the demo](/demo/) using Chrome or Chromium to see it in action.
4249

source/_components/cover.lutron_caseta.markdown

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ footer: true
1010
logo: lutron.png
1111
ha_category: Cover
1212
ha_iot_class: "Local Polling"
13+
ha_release: 0.45
1314
---
1415

15-
To get your Lutron Caseta covers working with Home Assistant, follow the instructions for the general [Lutron Caseta component](/components/lutron_caseta/).
16+
To get your Lutron Caseta covers (Serena Shades) working with Home Assistant, first follow the instructions for the general [Lutron Caseta component](/components/lutron_caseta/).
17+
18+
You also need to configure Lutron Caseta as a cover platform in your `configuration.yaml` file:
19+
20+
```yaml
21+
# Example configuration.yaml entry
22+
cover:
23+
- platform: lutron_caseta
24+
```
25+
26+
Your Lutron Caseta shades will be pulled into Home Assistant with the names they were assigned in the Lutron Caseta app.

source/_components/discovery.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Home Assistant can discover and automatically configure zeroconf/mDNS and uPnP d
3333
* Bose Soundtouch speakers
3434
* Axis Communications security devices
3535
* IKEA Trådfri (Tradfri)
36+
* Harmony Hub
3637

3738
It will be able to add Google Chromecasts and Belkin WeMo switches automatically, for Philips Hue it will require some configuration from the user.
3839

source/_components/fan.velbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
logo: velbus.png
1111
ha_category: Fan
1212
ha_iot_class: "Local Push"
13-
ha_release: 0.49
13+
ha_release: "0.50"
1414
---
1515

1616
The `velbus` fan allows you to control [Velbus](http://www.velbus.eu) connected fans.

source/_components/frontend.markdown

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,17 @@ The example above defined two themes named `happy` and `sad`. For each theme you
3636
There are 2 themes-related services:
3737
- `frontend.reload_themes` - reloads theme configuration from yaml.
3838
- `frontend.set_theme(name)` - sets backend-preferred theme name.
39+
40+
Example in automation:
41+
```yaml
42+
automation:
43+
- alias: 'Set theme at startup'
44+
initial_state: 'on'
45+
trigger:
46+
- platform: homeassistant
47+
event: start
48+
action:
49+
service: frontend.set_theme
50+
data:
51+
name: pink
52+
```

source/_components/intent_script.markdown

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,28 @@ sharing: true
99
footer: true
1010
logo: home-assistant.png
1111
ha_category: Intent
12-
ha_release: 0.50
12+
ha_release: "0.50"
1313
---
1414

1515
The intent_script component allows users to configure actions and responses to intents. Intents can be fired by any component that supports it. Examples are Alexa (Amazon Echo), API.ai (Google Assistant) and Snips.
1616

1717
```yaml
18-
{% raw %}# Example configuration.yaml entry
18+
# Example configuration.yaml entry
1919
intent_script:
2020
GetTemperature: # Intent type
2121
speech:
22-
text: We have {{ states.sensor.temperature }} degrees
22+
text: We have {% raw %}{{ states.sensor.temperature }}{% endraw %} degrees
2323
action:
2424
service: notify.notify
2525
data_template:
2626
message: Hello from an intent!
27-
{% endraw %}
2827
```
28+
Configuration variables:
2929
3030
Inside an intent we can define these variables:
31-
- **speech** (*Optional*): Text or template to return
32-
- **action** (*Optional*): [Script syntax]
33-
- **async_action** (*Optional*): Set to True to have Home Assistant not wait for the script to finish before returning the intent response.
3431
35-
[Script syntax]: /docs/scripts/
32+
- **intent** (*Required*): Name of the intent. Multiple entries are possible.
33+
- **speech** (*Optional*): Text or template to return.
34+
- **action** (*Optional*): [Script syntax](/docs/scripts/).
35+
- **async_action** (*Optional*): Set to True to have Home Assistant not wait for the script to finish before returning the intent response.
36+

source/_components/light.tplink.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ comments: false
88
sharing: true
99
footer: true
1010
logo: tp-link.png
11-
ha_category: light
11+
ha_category: Light
1212
ha_iot_class: "Local Polling"
1313
ha_release: "0.50"
1414
---

source/_components/light.velbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
logo: velbus.png
1111
ha_category: Light
1212
ha_iot_class: "Local Push"
13-
ha_release: 0.49
13+
ha_release: "0.50"
1414
---
1515

1616
The `velbus` light allows you to control [Velbus](http://www.velbus.eu) lights.

source/_components/media_extractor.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ More info about queries [here](https://github.com/rg3/youtube-dl#format-selectio
5454

5555
### {% linkable_title Use the service %}
5656

57-
Go to the "Developer Tools", then to "Call Service", and choose `media_extractor/play_media` from the list of available services. Fill the "Service Data" field as shown in the example below and hit "CALL SERVICE".
57+
Go to the "Developer Tools," then to "Call Service," and choose `media_extractor/play_media` from the list of available services. Fill the "Service Data" field as shown in the example below and hit "CALL SERVICE."
5858

5959
This will download the file from the given URL.
6060

source/_components/sensor.uk_transport.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ A large amount of information about upcoming departures is available within the
5656
sensors:
5757
next_train_status:
5858
friendly_name: 'Next train status'
59-
value_template: '{{states.sensor.next_train_to_wat.attributes.next_trains[0].status}}'
59+
value_template: {% raw %}'{{states.sensor.next_train_to_wat.attributes.next_trains[0].status}}'{% endraw %}
6060
next_trains_origin:
6161
friendly_name: 'Next train origin'
62-
value_template: '{{states.sensor.next_train_to_wat.attributes.next_trains[0].origin_name}}'
62+
value_template: {% raw %}'{{states.sensor.next_train_to_wat.attributes.next_trains[0].origin_name}}'{% endraw %}
6363
next_trains_estimated:
6464
friendly_name: 'Next train estimated'
65-
value_template: '{{states.sensor.next_train_to_wat.attributes.next_trains[0].estimated}}'
65+
value_template: {% raw %}'{{states.sensor.next_train_to_wat.attributes.next_trains[0].estimated}}'{% endraw %}
6666
next_trains_scheduled:
6767
friendly_name: 'Next train scheduled'
68-
value_template: '{{states.sensor.next_train_to_wat.attributes.next_trains[0].scheduled}}'
68+
value_template: {% raw %}'{{states.sensor.next_train_to_wat.attributes.next_trains[0].scheduled}}'{% endraw %}
6969
next_trains_platform:
7070
friendly_name: 'Next train platform'
71-
value_template: '{{states.sensor.next_train_to_wat.attributes.next_trains[0].platform}}'
71+
value_template: {% raw %}'{{states.sensor.next_train_to_wat.attributes.next_trains[0].platform}}'{% endraw %}
7272
7373
```
7474

@@ -106,16 +106,16 @@ And the template sensor for viewing the next bus attributes.
106106
sensors:
107107
next_bus_route:
108108
friendly_name: 'Next bus route'
109-
value_template: '{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].route}}'
109+
value_template: {% raw %}'{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].route}}'{% endraw %}
110110
next_bus_direction:
111111
friendly_name: 'Next bus direction'
112-
value_template: '{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].direction}}'
112+
value_template: {% raw %}'{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].direction}}'{% endraw %}
113113
next_bus_scheduled:
114114
friendly_name: 'Next bus scheduled'
115-
value_template: '{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].scheduled}}'
115+
value_template: {% raw %}'{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].scheduled}}'{% endraw %}
116116
next_bus_estimated:
117117
friendly_name: 'Next bus estimated'
118-
value_template: '{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].estimated}}'
118+
value_template: {% raw %}'{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].estimated}}'{% endraw %}
119119
120120
```
121121

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
layout: page
3+
title: "Shopping List"
4+
description: "Instructions on how to integrate a Shopping list into Home Assistant using Intent."
5+
date: 2017-07-29 13:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: home-assistant.png
11+
ha_category: Intent
12+
ha_release: "0.50"
13+
---
14+
15+
The `shopping_list` component allows you to keep track of shopping list items. Includes the ability to add items via your voice using the sentence "Add eggs to my shopping list".
16+
17+
```yaml
18+
# Example configuration.yaml entry
19+
shopping_list:
20+
```

source/_components/switch.velbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
logo: velbus.png
1111
ha_category: Switch
1212
ha_iot_class: "Local Push"
13-
ha_release: 0.49
13+
ha_release: "0.50"
1414
---
1515

1616
The `velbus` switch allows you to control [Velbus](http://www.velbus.eu) connected switches.

source/_components/velbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
logo: velbus.png
1111
ha_category: Hub
1212
ha_iot_class: "Local Push"
13-
ha_release: 0.49
13+
ha_release: "0.50"
1414
---
1515

1616
The `velbus` component supports the Velbus USB and Serial gateways.

source/_cookbook/automation_for_rainy_days.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ automation:
2222
entity_id: sensor.precip_intensity
2323
to: 'rain'
2424
condition:
25-
- platform: state
25+
- condition: state
2626
entity_id: group.all_devices
2727
state: 'home'
28-
- platform: time
28+
- condition: time
2929
after: '14:00'
3030
before: '23:00'
3131
action:

0 commit comments

Comments
 (0)