[bindings a-k] Fix deprecated tag "required" (#10410)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2021-03-29 22:00:06 +02:00
committed by GitHub
parent 89ae8afa49
commit bd56fd8e5d
18 changed files with 22 additions and 50 deletions

View File

@@ -22,7 +22,6 @@
<parameter name="callbackUrl" type="text"> <parameter name="callbackUrl" type="text">
<label>Callback URL</label> <label>Callback URL</label>
<description>URL to use for playing audio streams, e.g. http://192.168.0.2:8080</description> <description>URL to use for playing audio streams, e.g. http://192.168.0.2:8080</description>
<required>false</required>
</parameter> </parameter>
<parameter name="zoneMemberSeparator" type="text"> <parameter name="zoneMemberSeparator" type="text">
<label>Zone Member Separator</label> <label>Zone Member Separator</label>

View File

@@ -34,15 +34,13 @@
</channels> </channels>
<config-description> <config-description>
<parameter name="deviceId" type="text"> <parameter name="deviceId" type="text" required="true">
<label>Device ID</label> <label>Device ID</label>
<description>The device identifier identifies one certain speaker.</description> <description>The device identifier identifies one certain speaker.</description>
<required>true</required>
</parameter> </parameter>
<parameter name="deviceName" type="text"> <parameter name="deviceName" type="text">
<label>Device Name</label> <label>Device Name</label>
<description>The device name of the speaker.</description> <description>The device name of the speaker.</description>
<required>false</required>
</parameter> </parameter>
<parameter name="volumeStepSize" type="integer"> <parameter name="volumeStepSize" type="integer">
<label>Volume Step Size</label> <label>Volume Step Size</label>

View File

@@ -5,23 +5,20 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd"> xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="thing-type:altona:hdmimatrix"> <config-description uri="thing-type:altona:hdmimatrix">
<parameter name="ipAddress" type="text"> <parameter name="ipAddress" type="text" required="true">
<context>network-address</context> <context>network-address</context>
<label>IP or Host Name</label> <label>IP or Host Name</label>
<description>IP or Host name of Atlona Matrix Switch</description> <description>IP or Host name of Atlona Matrix Switch</description>
<required>true</required>
</parameter> </parameter>
<parameter name="userName" type="text"> <parameter name="userName" type="text" required="false">
<label>User Name</label> <label>User Name</label>
<description>User Name to login with if Telnet Login is on</description> <description>User Name to login with if Telnet Login is on</description>
<required>false</required>
<advanced>true</advanced> <advanced>true</advanced>
</parameter> </parameter>
<parameter name="password" type="text"> <parameter name="password" type="text" required="false">
<context>password</context> <context>password</context>
<label>Password</label> <label>Password</label>
<description>Password to login with if Telnet Login is on</description> <description>Password to login with if Telnet Login is on</description>
<required>false</required>
<advanced>true</advanced> <advanced>true</advanced>
</parameter> </parameter>
<parameter name="polling" type="integer" min="10" max="9999" unit="s" required="false"> <parameter name="polling" type="integer" min="10" max="9999" unit="s" required="false">

View File

@@ -10,7 +10,6 @@
<parameter name="callbackUrl" type="text"> <parameter name="callbackUrl" type="text">
<label>Callback URL</label> <label>Callback URL</label>
<description>url to use for playing notification sounds, e.g. http://192.168.0.2:8080</description> <description>url to use for playing notification sounds, e.g. http://192.168.0.2:8080</description>
<required>false</required>
</parameter> </parameter>
</config-description> </config-description>

View File

@@ -5,11 +5,10 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd"> xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="thing-type:chromecast:device"> <config-description uri="thing-type:chromecast:device">
<parameter name="ipAddress" type="text"> <parameter name="ipAddress" type="text" required="true">
<context>network-address</context> <context>network-address</context>
<label>Network Address</label> <label>Network Address</label>
<description>Network address of the Chromecast device.</description> <description>Network address of the Chromecast device.</description>
<required>true</required>
</parameter> </parameter>
<parameter name="port" type="integer"> <parameter name="port" type="integer">
<label>Network Port</label> <label>Network Port</label>

View File

@@ -14,21 +14,18 @@
<context>network-address</context> <context>network-address</context>
<description>The IP address / FQDN of the CoolMasterNet unit</description> <description>The IP address / FQDN of the CoolMasterNet unit</description>
<default></default> <default></default>
<required>true</required>
</parameter> </parameter>
<parameter name="port" type="integer"> <parameter name="port" type="integer" required="false">
<label>Port</label> <label>Port</label>
<description>Port of ASCII interface of CoolMasterNet unit.</description> <description>Port of ASCII interface of CoolMasterNet unit.</description>
<default>10102</default> <default>10102</default>
<required>false</required>
</parameter> </parameter>
<parameter name="refresh" type="integer"> <parameter name="refresh" type="integer" required="false">
<label>Refresh Frequency</label> <label>Refresh Frequency</label>
<description>Frequency to poll the controller for updates, in seconds. Defaults to every 5 seconds.</description> <description>Frequency to poll the controller for updates, in seconds. Defaults to every 5 seconds.</description>
<default>5</default> <default>5</default>
<required>false</required>
</parameter> </parameter>
</config-description> </config-description>
@@ -52,11 +49,10 @@
</channels> </channels>
<config-description> <config-description>
<parameter name="uid" type="text"> <parameter name="uid" type="text" required="true">
<label>HVAC Unit ID</label> <label>HVAC Unit ID</label>
<description>Unit ID of the HVAC Unit to control. Example: L1.100.</description> <description>Unit ID of the HVAC Unit to control. Example: L1.100.</description>
<default>L1.100</default> <default>L1.100</default>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>

View File

@@ -38,10 +38,9 @@
</channels> </channels>
<config-description> <config-description>
<parameter name="channelId" type="integer" min="1" max="15" step="1" readOnly="true"> <parameter name="channelId" type="integer" min="1" max="15" step="1" readOnly="true" required="true">
<label>Channel ID</label> <label>Channel ID</label>
<description>The id of this channel.</description> <description>The id of this channel.</description>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>
</thing-type> </thing-type>

View File

@@ -17,10 +17,9 @@
</channels> </channels>
<config-description> <config-description>
<parameter name="ipAddress" type="text"> <parameter name="ipAddress" type="text" required="true">
<label>Network Address</label> <label>Network Address</label>
<description>Network address of the Matrix</description> <description>Network address of the Matrix</description>
<required>true</required>
</parameter> </parameter>
<parameter name="interval" type="integer" required="true"> <parameter name="interval" type="integer" required="true">
<label>Polling Interval</label> <label>Polling Interval</label>

View File

@@ -21,10 +21,9 @@
</channels> </channels>
<config-description> <config-description>
<parameter name="ipAddress" type="text"> <parameter name="ipAddress" type="text" required="true">
<label>Network Address</label> <label>Network Address</label>
<description>Network address of the Matrix</description> <description>Network address of the Matrix</description>
<required>true</required>
</parameter> </parameter>
<parameter name="ports" type="integer" required="true" min="1" max="8"> <parameter name="ports" type="integer" required="true" min="1" max="8">
<label>Number of Ports</label> <label>Number of Ports</label>

View File

@@ -36,10 +36,9 @@
<property name="vendor">Denon</property> <property name="vendor">Denon</property>
</properties> </properties>
<config-description> <config-description>
<parameter name="members" type="text" readOnly="false"> <parameter name="members" type="text" readOnly="false" required="true">
<label>The Group Member Player IDs</label> <label>The Group Member Player IDs</label>
<description>Shows the player IDs of the members of this group</description> <description>Shows the player IDs of the members of this group</description>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>
</thing-type> </thing-type>

View File

@@ -38,10 +38,9 @@
</properties> </properties>
<representation-property>serialNumber</representation-property> <representation-property>serialNumber</representation-property>
<config-description> <config-description>
<parameter name="pid" type="text" readOnly="false"> <parameter name="pid" type="text" readOnly="false" required="true">
<label>Player ID</label> <label>Player ID</label>
<description>The internal Player ID</description> <description>The internal Player ID</description>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>
</thing-type> </thing-type>

View File

@@ -13,25 +13,21 @@
</channels> </channels>
<representation-property>vendor</representation-property> <representation-property>vendor</representation-property>
<config-description> <config-description>
<parameter name="ipAddress" type="text"> <parameter name="ipAddress" type="text" required="true">
<context>network-address</context> <context>network-address</context>
<label>Network Address</label> <label>Network Address</label>
<description>Network address of the HEOS bridge.</description> <description>Network address of the HEOS bridge.</description>
<required>true</required>
</parameter> </parameter>
<parameter name="username" type="text"> <parameter name="username" type="text" required="false">
<label>Username</label> <label>Username</label>
<description>Username for login to the HEOS account.</description> <description>Username for login to the HEOS account.</description>
<required>false</required>
</parameter> </parameter>
<parameter name="password" type="text"> <parameter name="password" type="text" required="false">
<context>password</context> <context>password</context>
<label>Password</label> <label>Password</label>
<description>Password for login to the HEOS account</description> <description>Password for login to the HEOS account</description>
<required>false</required>
</parameter> </parameter>
<parameter name="heartbeat" type="integer" min="3" max="3600" unit="s"> <parameter name="heartbeat" type="integer" min="3" max="3600" unit="s" required="false">
<required>false</required>
<unitLabel>seconds</unitLabel> <unitLabel>seconds</unitLabel>
<label>Heartbeat</label> <label>Heartbeat</label>
<description>The time in seconds for the HEOS Heartbeat (default = 60 s)</description> <description>The time in seconds for the HEOS Heartbeat (default = 60 s)</description>

View File

@@ -77,7 +77,6 @@
<parameter name="poll_frequency" type="integer" required="false" min="1"> <parameter name="poll_frequency" type="integer" required="false" min="1">
<label>Polling Frequency</label> <label>Polling Frequency</label>
<description>How often (in seconds) to poll the Hyperion server for value changes.</description> <description>How often (in seconds) to poll the Hyperion server for value changes.</description>
<required>true</required>
<default>3</default> <default>3</default>
</parameter> </parameter>
<parameter name="origin" type="text" required="false"> <parameter name="origin" type="text" required="false">

View File

@@ -154,14 +154,12 @@
<label>Text based Filter</label> <label>Text based Filter</label>
</parameter-group> </parameter-group>
<parameter name="maxEvents" type="integer" min="0" groupName="general"> <parameter name="maxEvents" type="integer" required="true" min="0" groupName="general">
<label>Maximum Matches</label> <label>Maximum Matches</label>
<required>true</required>
</parameter> </parameter>
<parameter name="refreshTime" type="integer" min="1" groupName="general" unit="min"> <parameter name="refreshTime" type="integer" required="true" min="1" groupName="general" unit="min">
<label>Refresh Time</label> <label>Refresh Time</label>
<description>The frequency in minutes the channels get refreshed</description> <description>The frequency in minutes the channels get refreshed</description>
<required>true</required>
<default>15</default> <default>15</default>
</parameter> </parameter>
<parameter name="datetimeUnit" type="text" groupName="datetime_based"> <parameter name="datetimeUnit" type="text" groupName="datetime_based">

View File

@@ -6,10 +6,9 @@
https://openhab.org/schemas/config-description-1.0.0.xsd"> https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="thing-type:innogysmarthome:config"> <config-description uri="thing-type:innogysmarthome:config">
<parameter name="id" type="text"> <parameter name="id" type="text" required="true">
<label>ID</label> <label>ID</label>
<description>The identifier uniquely identifies this device.</description> <description>The identifier uniquely identifies this device.</description>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>

View File

@@ -43,7 +43,6 @@
<b>... to generate an auth-code and paste it here</b>. After initial authorization, this code is not needed anymore.]]></description> <b>... to generate an auth-code and paste it here</b>. After initial authorization, this code is not needed anymore.]]></description>
</parameter> </parameter>
<parameter name="websocketidletimeout" type="integer" min="0" max="3600" unit="s" groupName="advanced"> <parameter name="websocketidletimeout" type="integer" min="0" max="3600" unit="s" groupName="advanced">
<required>false</required>
<unitLabel>seconds</unitLabel> <unitLabel>seconds</unitLabel>
<label>WebSocket Idle Timeout in Seconds</label> <label>WebSocket Idle Timeout in Seconds</label>
<description>The WebSocket is the connection to the innogy service that listens to status updates. If no data is <description>The WebSocket is the connection to the innogy service that listens to status updates. If no data is

View File

@@ -7,10 +7,9 @@
<description>This is the binding for Kodi.</description> <description>This is the binding for Kodi.</description>
<config-description> <config-description>
<parameter name="callbackUrl" type="text"> <parameter name="callbackUrl" type="text" required="false">
<label>Callback URL</label> <label>Callback URL</label>
<description>url to use for playing notification sounds, e.g. http://192.168.0.2:8080</description> <description>url to use for playing notification sounds, e.g. http://192.168.0.2:8080</description>
<required>false</required>
</parameter> </parameter>
</config-description> </config-description>

View File

@@ -39,10 +39,9 @@
<description>Train stop for KVV Binding.</description> <description>Train stop for KVV Binding.</description>
<config-description> <config-description>
<parameter name="stopId" type="text"> <parameter name="stopId" type="text" required="true">
<label>Stop ID</label> <label>Stop ID</label>
<description>ID of the train stop.</description> <description>ID of the train stop.</description>
<required>true</required>
</parameter> </parameter>
</config-description> </config-description>
</thing-type> </thing-type>