mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[pulseaudio] Move the binding config in file binding.xml (#11055)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
3d0c31bd50
commit
0c2d697909
@ -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>
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user