Minor changes

This commit is contained in:
Fabian Affolter 2017-02-08 18:36:22 +01:00
parent 9dfe758f3f
commit cf3b66c8f1
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -16,15 +16,10 @@ ha_release: 0.38
The `apple_tv` platform allows you to control an Apple TV (3rd and 4th generation). The `apple_tv` platform allows you to control an Apple TV (3rd and 4th generation).
<p class='note'> <p class='note'>
Currently you must have Home Sharing enabled for this to work. Support for pairing Home Assistant Currently you must have Home Sharing enabled for this to work. Support for pairing Home Assistant with your device will be supported in a later released.
with your device will be supported in a later released.
</p> </p>
## {% linkable_title Configuration %} If you want to automatically discover new devices, just make sure you have `discovery:` in your `configuration.yaml` file. To manually add an Apple TV to your installation, add the following to your `configuration.yaml` file:
If you want to automatically discover new devices, just make sure you have ``discovery:``in
your ``configuration.yaml``. To manually add an Apple TV to your installation, add the following
to your configuration file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -32,7 +27,6 @@ media_player:
- platform: apple_tv - platform: apple_tv
host: IP_ADDRESS host: IP_ADDRESS
login_id: LOGIN_ID login_id: LOGIN_ID
name: NAME
``` ```
Configuration variables: Configuration variables:
@ -41,20 +35,16 @@ Configuration variables:
- **login_id** (*Required*): An identifier used to login to the device, see below - **login_id** (*Required*): An identifier used to login to the device, see below
- **name** (*Optional*): The name of the device used in the frontend - **name** (*Optional*): The name of the device used in the frontend
In order to connect to the device you need a *login id*. The easiest way to obtain this identifier In order to connect to the device you need a *login id*. The easiest way to obtain this identifier is to use the application ``atvremote``. It should be available in the same environment as you installed Home-Assistant. Just run it like this to scan for all devices (try again if a device is missing):
is to use the application ``atvremote``. It should be available in the same environment as you
installed Home-Assistant. Just run it like this to scan for all devices (try again if a device
is missing):
``` ```bash
$ atvremote scan $ atvremote scan
Found Apple TVs: Found Apple TVs:
- Apple TV at 10.0.10.22 (login id: 00000000-1234-5678-9012-345678901234) - Apple TV at 10.0.10.22 (login id: 00000000-1234-5678-9012-345678901234)
``` ```
Just copy and paste the login id from the device you want to add. For more details about Just copy and paste the login id from the device you want to add. For more details about `atvremote`, see: [this page](https://github.com/postlund/pyatv/blob/master/docs/atvremote.rst).
atvremote, see: [this page](https://github.com/postlund/pyatv/blob/master/docs/atvremote.rst).
## Notes and Limitations ## {% linkable_title Notes and Limitations %}
- Pairing is currently not supported - Pairing is currently not supported