Add bluesound config_flow; remove configuration.yaml (#32218)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Louis Christ 2024-07-29 10:12:03 +02:00 committed by GitHub
parent 718184fbcc
commit 0d769df01e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,50 +18,7 @@ related:
The `bluesound` platform allows you to control your [Bluesound](https://www.bluesound.com/) HiFi wireless speakers and audio integrations from Home Assistant.
To manually add a Bluesound device to your installation, add the following to your {% term "`configuration.yaml`" %} file.
{% include integrations/restart_ha_after_config_inclusion.md %}
```yaml
# Example configuration.yaml
media_player:
- platform: bluesound
hosts:
- host: 192.168.1.100
```
{% configuration %}
hosts:
description: List with your Bluesound devices.
required: false
type: list
keys:
host:
description: The IP address or hostname of the player.
required: true
type: string
name:
description: The name of the device used in the frontend.
required: false
type: string
port:
description: The port to communicate with the device.
required: false
default: 11000
type: integer
{% endconfiguration %}
## Advanced configuration example
```yaml
# Example configuration.yaml entry with manually specified addresses
media_player:
- platform: bluesound
hosts:
- host: 192.168.1.100
name: bluesound_kitchen
port: 11000
- host: 192.168.1.131
```
{% include integrations/config_flow.md %}
### Action `bluesound.join`