From 4ff066730146b393dc18c9a1678dade8dc44018a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Sep 2016 07:21:40 +0200 Subject: [PATCH] Add port as configuration variable --- source/_components/media_player.directv.markdown | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/_components/media_player.directv.markdown b/source/_components/media_player.directv.markdown index e33834f248a..68ceaf4329a 100644 --- a/source/_components/media_player.directv.markdown +++ b/source/_components/media_player.directv.markdown @@ -9,7 +9,8 @@ sharing: true footer: true logo: directv.png ha_category: Media Player -ha_release: "0.25" +ha_release: 0.25 +ha_iot_class: "Local Polling" --- The [DirecTV](http://www.directv.com/) receivers will be automatically discovered if you enable the [discovery component](/components/discovery/). @@ -21,10 +22,13 @@ The `directv` media player platform can also be forced to load by adding the fol media_player: platform: directv host: 192.168.1.10 + port: 8080 name: DirecTV Living Room ``` Configuration variables: -- **host** *Optional*: Use only if you don't want to scan for devices. -- **name** *Optional*: Use to give a specific name to the device. +- **host** (*Optional*): Use only if you don't want to scan for devices. +- **port** (*Optional*): The port your receiver is using. Defaults to `8080`. +- **name** (*Optional*): Use to give a specific name to the device. +