Skip to content

Commit da05d9a

Browse files
committed
Merge remote-tracking branch 'origin/current' into release-0-42
2 parents bdc3a02 + 5455519 commit da05d9a

File tree

8 files changed

+46
-15
lines changed

8 files changed

+46
-15
lines changed

source/_components/emulated_hue.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ The virtual bridge has the ability to turn entities on or off, or change the bri
2525
To enable the emulated Hue bridge, add one of the following configs to your `configuration.yaml` file:
2626

2727
```yaml
28-
# Amazon Echo example configuration.yaml entry
28+
# Google Home example configuration.yaml entry
2929
emulated_hue:
30+
# Google Home does not work on different ports.
3031
```
3132

3233
```yaml
33-
# Google Home example configuration.yaml entry
34+
# Amazon Echo example configuration.yaml entry
3435
emulated_hue:
35-
type: google_home
36-
# Google Home does not work on different ports.
36+
type: alexa
3737
listen_port: 80
3838
```
3939

source/_components/light.mqtt.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Configuration variables:
4545
- **payload_off** (*Optional*): The payload that represents disabled state. Default is "OFF".
4646
- **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON".
4747
- **qos** (*Optional*): The maximum QoS level of the state topic. Default is 0 and will also be used to publishing messages.
48+
- **retain** (*Optional*): If the published message should have the retain flag on or not.
4849
- **rgb_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's RGB state.
4950
- **rgb_state_topic** (*Optional*): The MQTT topic subscribed to receive RGB state updates.
5051
- **rgb_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the RGB value.

source/_components/sensor.vera.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ The `vera` platform allows you to get data from your [Vera](http://getvera.com/)
1717

1818
They will be automatically discovered if the vera component is loaded.
1919

20+
Please note that some vera sensors (such as _motion_ and _flood_ sensors) are _armable_ which means that vera will send alerts (email messages ot txts) when they are _armed_ an change state.
21+
22+
Home Assistant will display the state of these sensors regardless of the _armed_ state.
23+
24+
To allow you to change the _armed state_ - Home Assistant will create a switch as well as a sensor for each _Armable_ sensor. You can hide these switches using customization if you wish.

source/_components/switch.rflink.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ Configuration variables:
4343

4444
- **devices** (*Optional*): A list of devices with their name to use in the frontend.
4545
- **device_defaults**: (*Optional*)
46-
- **fire_event_** (*Optional*): Set default `fire_event` for RFLink switch devices (see below).
46+
- **fire_event** (*Optional*): Set default `fire_event` for RFLink switch devices (see below).
4747
- **signal_repetitions** (*Optional*): Set default `signal_repetitions` for RFLink switch devices (see below).
4848

4949
Device configuration variables:
5050

5151
- **name** (*Optional*): Name for the device, defaults to RFLink ID.
5252
- **aliasses** (*Optional*): Alternative RFLink ID's this device is known by.
53-
- **fire_event_** (*Optional*): Fire an `button_pressed` event if this device is turned on or off (default: False).
53+
- **fire_event** (*Optional*): Fire an `button_pressed` event if this device is turned on or off (default: False).
5454
- **signal_repetitions** (*Optional*): Repeat every RFLink command this number of times (default: 1)
5555

5656
### {% linkable_title Switch state %}

source/_docs/autostart/systemd.markdown

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ $ ps -p 1 -o comm=
1818

1919
If the preceding command returns the string `systemd`, you are likely using `systemd`.
2020

21-
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. A service file is needed to control Home Assistant with `systemd`. The template below should be created using a text editor. Note, root permissions via 'sudo' will likely be needed. The following should be noted to modify the template:
21+
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. A service file is needed to control Home Assistant with `systemd`. The template below should be created using a text editor. Note, root permissions via `sudo` will likely be needed. The following should be noted to modify the template:
2222

23-
+ `ExecStart` contains the path to `hass` and this may vary. Check with `whereis hass` for the location.
24-
+ If running Home Assistant in a python virtual environment or a docker, please skip to section below.
25-
+ For most systems, the file is `/etc/systemd/system/home-assistant@[your user].service` with [your user] replaced by the user account that Home Assistant will run as - normally `homeassistant`. For Ubuntu 16.04, the file is `/lib/systemd/system/home-assistant.service` and requires running this command `sudo ln -s /lib/systemd/system/home-assistant.service /etc/systemd/system/home-assistant.service` after file is created.
26-
+ If unfamiliar with command line text editors, `sudo nano -w [filename]` can be used with `[filename]` replaced with the full path to the file. Ex. `sudo nano -w /etc/systemd/system/home-assistant@homeassistant.service`. After text entered, press CTRL-X then press Y to save and exit.
23+
- `ExecStart` contains the path to `hass` and this may vary. Check with `whereis hass` for the location.
24+
- If running Home Assistant in a Python virtual environment or a Docker container, please skip to section below.
25+
- For most systems, the file is `/etc/systemd/system/home-assistant@[your user].service` with [your user] replaced by the user account that Home Assistant will run as - normally `homeassistant`. For Ubuntu 16.04, the file is `/lib/systemd/system/home-assistant.service` and requires running this command `sudo ln -s /lib/systemd/system/home-assistant.service /etc/systemd/system/home-assistant.service` after file is created.
26+
- If unfamiliar with command-line text editors, `sudo nano -w [filename]` can be used with `[filename]` replaced with the full path to the file. Ex. `sudo nano -w /etc/systemd/system/home-assistant@homeassistant.service`. After text entered, press CTRL-X then press Y to save and exit.
2727

2828
```
2929
[Unit]
@@ -39,7 +39,9 @@ ExecStart=/usr/bin/hass
3939
WantedBy=multi-user.target
4040
```
4141

42-
If you've setup Home Assistant in `virtualenv` following our [python installation guide](https://home-assistant.io/getting-started/installation-virtualenv/) or [manual installation guide for raspberry pi](https://home-assistant.io/getting-started/installation-raspberry-pi/), the following template should work for you. If Home Assistant install is not located at `/srv/homeassistant`, please modify the `ExecStart=` line appropriately.
42+
### {% linkable_title Python virtual environment %}
43+
44+
If you've setup Home Assistant in `virtualenv` following our [Python installation guide](https://home-assistant.io/getting-started/installation-virtualenv/) or [manual installation guide for Raspberry Pi](https://home-assistant.io/getting-started/installation-raspberry-pi/), the following template should work for you. If Home Assistant install is not located at `/srv/homeassistant`, please modify the `ExecStart=` line appropriately.
4345

4446
```
4547
[Unit]
@@ -55,7 +57,9 @@ ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"
5557
WantedBy=multi-user.target
5658
```
5759

58-
If you want to use docker, the following template should work for you.
60+
### {% linkable_title Docker %}
61+
62+
If you want to use Docker, the following template should work for you.
5963

6064
```
6165
[Unit]

source/_docs/configuration/templating.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Home Assistant adds extensions to allow templates to access all of the current s
7474
- `is_state_attr('device_tracker.paulus', 'battery', 40)` will test if the given entity is specified state.
7575
- `now()` will be rendered as current time in your time zone.
7676
- `utcnow()` will be rendered as UTC time.
77-
- `as_timestamp` will convert datetime object or string to UNIX timestamp
77+
- `as_timestamp()` will convert datetime object or string to UNIX timestamp
7878
- `distance()` will measure the distance in meters between home, entity, coordinates.
7979
- `closest()` will find the closest entity.
8080
- `relative_time(timestamp)` will format the date time as relative time vs now (ie 7 seconds)

source/_docs/hassbian/common-tasks.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ This will in order do the following:
9393
- Change directory to the Home Assistant configuration directory.
9494
- Open the log file in the nano editor.
9595

96-
Optionaly, you can also view the log with `journalctl`.
96+
Optionally, you can also view the log with `journalctl`.
9797
Log in as the `pi` account and execute the following commands:
9898

9999
```bash

source/_docs/installation/fedora.markdown

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,24 @@ and Home Assistant itself.
2323
$ pip3 install homeassistant
2424
```
2525

26+
To isolate the Home Assistant installation a [venv](https://docs.python.org/3/library/venv.html) is handy. First create a new directory to store the installation.
27+
28+
```bash
29+
$ sudo mkdir -p /opt/homeassistant
30+
$ cd /opt/homeassistant
31+
```
32+
Now switch to the new directory, setup the venv, and activate it.
33+
34+
```bash
35+
$ cd /opt/homeassistant
36+
$ pyvenv-3.5 .
37+
$ source bin/activate
38+
```
39+
40+
Install Home Assistant itself.
41+
42+
```bash
43+
$ pip3 install homeassistant
44+
```
45+
46+
Check the [autostart](/docs/autostart/systemd/) section in the documentation for further details.

0 commit comments

Comments
 (0)