Add config flow to Snapcast (#24562)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
luar123 2023-03-30 08:28:50 +02:00 committed by GitHub
parent 653aa9730c
commit 3b11aed716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,33 +6,15 @@ ha_category:
ha_release: 0.13 ha_release: 0.13
ha_iot_class: Local Polling ha_iot_class: Local Polling
ha_domain: snapcast ha_domain: snapcast
ha_config_flow: true
ha_platforms: ha_platforms:
- media_player - media_player
ha_integration_type: integration ha_integration_type: integration
--- ---
The `snapcast` platform allows you to control [Snapcast](https://github.com/badaix/snapcast) from Home Assistant. The Snapcast integration allows you to control [Snapcast](https://github.com/badaix/snapcast) from Home Assistant.
To add Snapcast to your installation, add the following to your `configuration.yaml` file: {% include integrations/config_flow.md %}
```yaml
# Example configuration.yaml entry
media_player:
- platform: snapcast
host: YOUR_IP_ADDRESS
```
{% configuration %}
host:
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 %}
## Services ## Services