[pulseaudio] Move the binding config in file binding.xml (#11055)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-07-25 12:40:57 +02:00 committed by GitHub
parent 3d0c31bd50
commit 0c2d697909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 31 deletions

View File

@ -6,4 +6,27 @@
<name>Pulseaudio Binding</name>
<description>This is the binding for Pulseaudio.</description>
<config-description>
<parameter name="sink" type="boolean">
<label>Import Sinks</label>
<description>Activate the import of sink elements.</description>
<default>true</default>
</parameter>
<parameter name="sinkInput" type="boolean">
<label>Import Sink Inputs</label>
<description>Activate the import of sink-input elements.</description>
<default>false</default>
</parameter>
<parameter name="source" type="boolean">
<label>Import Sources</label>
<description>Activate the import of source elements.</description>
<default>false</default>
</parameter>
<parameter name="sourceOutput" type="boolean">
<label>Import Source Outputs</label>
<description>Activate the import of source-output elements.</description>
<default>false</default>
</parameter>
</config-description>
</binding:binding>

View File

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<config-description:config-descriptions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="binding:pulseaudio">
<parameter name="sink" type="boolean">
<label>Import Sinks</label>
<description>Activate the import of sink elements.</description>
<default>true</default>
</parameter>
<parameter name="sinkInput" type="boolean">
<label>Import Sink Inputs</label>
<description>Activate the import of sink-input elements.</description>
<default>false</default>
</parameter>
<parameter name="source" type="boolean">
<label>Import Sources</label>
<description>Activate the import of source elements.</description>
<default>false</default>
</parameter>
<parameter name="sourceOutput" type="boolean">
<label>Import Source Outputs</label>
<description>Activate the import of source-output elements.</description>
<default>false</default>
</parameter>
</config-description>
</config-description:config-descriptions>