Minimizing of the configuration sample (#1033)
This commit is contained in:
parent
bb9533e546
commit
a175486bb3
26 changed files with 117 additions and 123 deletions
|
@ -11,6 +11,7 @@ logo: sonos.png
|
|||
ha_category: Media Player
|
||||
featured: true
|
||||
ha_release: 0.7.3
|
||||
ha_iot_class: "Local Polling"
|
||||
---
|
||||
|
||||
The `sonos` platform allows you to control your [Sonos](http://www.sonos.com) HiFi wireless speakers and audio components from Home Assistant. By default it supports auto-discovery provided by Home Assistant, and you don't need to add anything to your `configuration.yaml`. Alternatively, there are some manual configuration options, listed as follows:
|
||||
|
@ -20,7 +21,7 @@ To add your Sonos components to your installation, add the following to your `co
|
|||
```yaml
|
||||
# Example configuration.yaml entry using Sonos discovery
|
||||
media_player:
|
||||
platform: sonos
|
||||
- platform: sonos
|
||||
```
|
||||
|
||||
If you have multiple network devices, you can provide the IP address of the device that should be used for Sonos auto-discovery.
|
||||
|
@ -28,8 +29,8 @@ If you have multiple network devices, you can provide the IP address of the devi
|
|||
```yaml
|
||||
# Example configuration.yaml entry using Sonos discovery on a specific interface
|
||||
media_player:
|
||||
platform: sonos
|
||||
interface_addr: 192.0.2.1
|
||||
- platform: sonos
|
||||
interface_addr: 192.0.2.1
|
||||
```
|
||||
|
||||
You can also specify one or more hosts to connect to if they cannot be found with Sonos auto-discovery.
|
||||
|
@ -37,8 +38,8 @@ You can also specify one or more hosts to connect to if they cannot be found wit
|
|||
```yaml
|
||||
# Example configuration.yaml entry with manually specified addresses
|
||||
media_player:
|
||||
platform: sonos
|
||||
hosts: 192.0.2.25
|
||||
- platform: sonos
|
||||
hosts: 192.0.2.25
|
||||
```
|
||||
|
||||
or, for multiple hosts:
|
||||
|
@ -46,11 +47,11 @@ or, for multiple hosts:
|
|||
```yaml
|
||||
# Example configuration.yaml entry with manually specified addresses
|
||||
media_player:
|
||||
platform: sonos
|
||||
hosts:
|
||||
- 192.0.2.25
|
||||
- 192.0.2.26
|
||||
- 192.0.2.27
|
||||
- platform: sonos
|
||||
hosts:
|
||||
- 192.0.2.25
|
||||
- 192.0.2.26
|
||||
- 192.0.2.27
|
||||
```
|
||||
|
||||
### {% linkable_title Service `sonos_snapshot` %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue