mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add port as configuration variable
This commit is contained in:
parent
3430f8a239
commit
4ff0667301
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user