Split host:port to align with other platforms

This commit is contained in:
Fabian Affolter 2016-09-05 07:50:54 +02:00
parent 4ff0667301
commit db4c627bf6
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -1,7 +1,7 @@
---
layout: page
title: "FireTV"
description: "Instructions how to integrate Music Player Daemon into Home Assistant."
description: "Instructions how to integrate FIre-TV into Home Assistant."
date: 2015-10-23 18:00
sidebar: true
comments: false
@ -10,6 +10,7 @@ footer: true
logo: firetv.png
ha_category: Media Player
ha_release: 0.7.6
ha_iot_class: "Local Polling"
---
@ -38,19 +39,21 @@ To add FireTV to your installation, add the following to your `configuration.yam
# Example configuration.yaml entry
media_player:
platform: firetv
host: localhost:5556
host: localhost
port: 5556
device: livingroom-firetv
name: My Amazon Fire TV
```
Configuration variables:
- **host** (*Optional*): Where `firetv-server` is running. Default is *localhost:5556*.
- **device** (*Optional*): The device ID, default is *default*.
- **host** (*Optional*): Where `firetv-server` is running. Default is localhost.
- **port** (*Optional*): THe port where `firetv-server` is running. Default is 5556.
- **device** (*Optional*): The device ID. Defaults to `default`.
- **name** (*Optional*): The friendly name of the device, default is 'Amazon Fire TV'.
<p class='note warning'>
Note that python-firetv has support for multiple Amazon Fire TV devices. If you have more than one configured, be sure to specify the device id used. Run `firetv-server -h` and/or view the source for complete capabilities.
Note that python-firetv has support for multiple Amazon Fire TV devices. If you have more than one configured, be sure to specify the device ID in `device`. Run `firetv-server -h` and/or view the source for complete capabilities.
</p>