Add config flow to Dune HD (#13652)

This commit is contained in:
Maciej Bieniek 2020-06-03 15:05:40 +02:00 committed by GitHub
parent 55b7faa35a
commit 0456cc36d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,25 @@
--- ---
title: DuneHD title: Dune HD
description: Instructions on how to integrate DuneHD media players into Home Assistant. description: Instructions on how to integrate Dune HD media players into Home Assistant.
ha_category: ha_category:
- Media Player - Media Player
ha_iot_class: Local Polling ha_iot_class: Local Polling
ha_release: 0.34 ha_release: 0.34
ha_domain: dunehd ha_domain: dunehd
ha_config_flow: true
ha_codeowners:
- '@bieniu'
--- ---
The `dunehd` media player platform allows you to control a [Dune HD media player](https://dune-hd.com/eng/products/full_hd_media_players) from Home Assistant. Support is based on the official [IP protocol](https://dune-hd.com/support/ip_control/dune_ip_control_overview.txt) published by Dune. The `Dune HD` integration allows you to control a [Dune HD media player](https://dune-hd.com/eng/products/full_hd_media_players) from Home Assistant. Support is based on the official [IP protocol](https://dune-hd.com/support/ip_control/dune_ip_control_overview.txt) published by Dune.
Devices with firmware 110127_2105_beta or above are supported. Some functions may depend on the version of the protocol (volume / mute control is only available with version 2 onwards). Devices with firmware 110127_2105_beta or above are supported. Some functions may depend on the version of the protocol (volume / mute control is only available with version 2 onwards).
To add a Dune HD player to your installation, add the following to your `configuration.yaml` file: ## Configuration
To add `Dune HD` to your installation, go to **Configuration** >> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **Dune HD**.
If you have following configuration in your `configuration.yaml` file it will be imported to the Integrations:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -29,10 +36,8 @@ host:
name: name:
description: Name of the device. description: Name of the device.
required: false required: false
default: DuneHD default: Dune HD
type: string
sources:
description: A name-value dictionary of sources than can be requested to play.
required: false
type: string type: string
{% endconfiguration %} {% endconfiguration %}
After importing, you can safely remove this configuration from the `configuration.yaml` file.