mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 11:56:50 +00:00
Update Documentation for 'Snapcast' Media Player Component Configuration (#7033)
* Update Documentation for 'snapcast' Media Player Component Configuration * Adds config for 'port' key Adds config for 'port' key used at https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/media_player/snapcast.py#L44 * Adds default port value Adds default port value Used during async_setup_platform() at: https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/media_player/snapcast.py#L54 Defined from imported 'python-snapcast' package at: https://github.com/happyleavesaoc/python-snapcast/blob/master/snapcast/control/server.py#L13 * Minor change * Replace value
This commit is contained in:
parent
e52fa5c0db
commit
ba3842ad05
@ -22,9 +22,17 @@ To add Snapcast to your installation, add the following to your `configuration.y
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
media_player:
|
media_player:
|
||||||
- platform: snapcast
|
- platform: snapcast
|
||||||
host: xxx.xxx.xxx.xxx
|
host: YOUR_IP_ADDRESS
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Required*): The IP of the device, eg. `192.168.0.10`.
|
description: The IP address of the device, e.g., `192.168.0.10`.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
description: The port number.
|
||||||
|
required: false
|
||||||
|
default: 1705
|
||||||
|
type: integer
|
||||||
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user