Skip to content

Commit 04b4f58

Browse files
committed
Merge branch 'current' into next
2 parents 17c5f7b + 6adddf4 commit 04b4f58

31 files changed

+284
-45
lines changed

.gitmodules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[submodule "_deploy"]
22
path = _deploy
3-
url = https://github.com/home-assistant/home-assistant.git
4-
branch = gh-pages
3+
url = https://github.com/home-assistant/home-assistant.github.io.git

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
home-assistant.io

_deploy

sass/custom/_paulus.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ article.post, article.page, article.listing {
215215
}
216216

217217
h1, h2, h3 {
218-
margin-bottom: 0;
218+
margin-bottom: 4px;
219219
line-height: 1.2;
220220
}
221221
}

source/_components/sensor.ecobee.markdown renamed to source/_components/binary_sensor.ecobee.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: "Ecobee Sensor"
3+
title: "Ecobee Binary Sensor"
44
description: "Instructions how to setup the Ecobee sensors within Home Assistant."
55
date: 2015-11-30 18:00
66
sidebar: true
@@ -11,4 +11,4 @@ logo: ecobee.png
1111
ha_category: Sensor
1212
---
1313

14-
To get your Ecobee sensors working with Home Assistant, follow the instructions for the general [Ecobee component](/components/ecobee/).
14+
To get your Ecobee binary sensors working with Home Assistant, follow the instructions for the general [Ecobee component](/components/ecobee/).

source/_components/binary_sensor.nest.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ binary_sensor:
2222
monitored_conditions:
2323
- 'fan'
2424
- 'hvac_ac_state'
25+
- 'hvac_heater_state'
2526
- 'hvac_aux_heater_state'
2627
- 'hvac_heat_x2_state'
2728
- 'hvac_heat_x3_state'

source/_components/camera.ffmpeg.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ camera:
3333
3434
Configuration variables:
3535
36-
- **input** (*Required*): A ffmpeg compatible input file, stream or feet.
36+
- **input** (*Required*): A ffmpeg compatible input file, stream or feed.
3737
- **name** (*Optional*): This parameter allows you to override the name of your camera.
3838
- **ffmpeg_bin** (*Optional*): Default 'ffmpeg'.
3939
- **extra_arguments** (*Optional*): Extra option they will pass to ffmpeg. i.e. image quality or video filter options.

source/_components/input_slider.markdown

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,79 @@ Configuration variables:
3434
- **max** (*Optional*): Maximum value for the slider.
3535
- **step** (*Optional*): Step value for the slider.
3636
37+
## {% linkable_title Automation Examples %}
38+
39+
Here's an example of `input_slider` being used as a trigger in an automation.
40+
41+
```yaml
42+
{% raw %}
43+
# Example configuration.yaml entry using 'input_slider' as a trigger in an automation
44+
45+
# Define input_slider
46+
input_slider:
47+
bedroom_brightness:
48+
name: Brightness
49+
initial: 254
50+
min: 0
51+
max: 254
52+
step: 1
53+
54+
# Automation.
55+
automation:
56+
- alias: Bedroom Light - Adjust Brightness
57+
trigger:
58+
platform: state
59+
entity_id: input_slider.bedroom_brightness
60+
action:
61+
- service: light.turn_on
62+
# Note the use of 'data_template:' below rather than the normal 'data:' if you weren't using an input variable
63+
data_template:
64+
entity_id: light.bedroom
65+
brightness: '{{ trigger.to_state.state | int }}'
66+
{% endraw %}
67+
```
68+
69+
Another code example using `input_slider`, this time being used in an action in an automation.
70+
71+
```yaml
72+
{% raw %}
73+
# Example configuration.yaml entry using 'input_slider' in an action in an automation
74+
75+
# Define 'input_select'
76+
input_select:
77+
scene_bedroom:
78+
name: Scene
79+
options:
80+
- Select
81+
- Concentrate
82+
- Energize
83+
- Reading
84+
- Relax
85+
- 'OFF'
86+
initial: 'Select'
87+
88+
# Define input_slider
89+
input_slider:
90+
bedroom_brightness:
91+
name: Brightness
92+
initial: 254
93+
min: 0
94+
max: 254
95+
step: 1
96+
97+
# Automation.
98+
automation:
99+
- alias: Bedroom Light - Custom
100+
trigger:
101+
platform: state
102+
entity_id: input_select.scene_bedroom
103+
to: CUSTOM
104+
action:
105+
- service: light.turn_on
106+
# Again, note the use of 'data_template:' rather than the normal 'data:' if you weren't using an input variable.
107+
data_template:
108+
entity_id: light.bedroom
109+
brightness: '{{ states.input_slider.bedroom_brightness.state | int }}'
110+
{% endraw %}
111+
```
112+

source/_components/media_player.denon.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Supported devices:
1919
- Denon DRA-N5
2020
- Denon RCD-N8 (untested)
2121
- Denon RCD-N9 (partial support)
22+
- Denon AVR receivers with Integrated Network support (partial support)
2223

2324
To add a Denon Network Receiver to your installation, add the following to your `configuration.yaml` file:
2425

source/_components/media_player.snapcast.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
22
layout: page
3-
title: "SnapCast"
4-
description: "Instructions on how to integrate SnapCast into Home Assistant."
3+
title: "Snapcast"
4+
description: "Instructions on how to integrate Snapcast into Home Assistant."
55
date: 2016-02-01 19:00
66
sidebar: true
77
comments: false
88
sharing: true
99
footer: true
10-
logo:
10+
logo: snapcast.png
1111
ha_category: Media Player
1212
featured: false
1313
ha_release: 0.13
1414
---
1515

16-
The `snapcast` platform allows you to control [SnapCast](https://github.com/badaix/snapcast) from Home Assistant.
16+
The `snapcast` platform allows you to control [Snapcast](https://github.com/badaix/snapcast) from Home Assistant.
1717

18-
To add SnapCast to your installation, add the following to your `configuration.yaml` file:
18+
To add Snapcast to your installation, add the following to your `configuration.yaml` file:
1919

2020
```yaml
2121
# Example configuration.yaml entry

0 commit comments

Comments
 (0)