[bindings s-z] Fix deprecated tag "required" (#10457)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-04-05 11:19:45 +02:00 committed by GitHub
parent 45ec538a40
commit 6e44b1ca15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 45 deletions

View File

@ -88,10 +88,9 @@
<description>Represents a device</description>
<config-description>
<parameter name="patternMatch" type="text">
<parameter name="patternMatch" type="text" required="true">
<label>Patern Match</label>
<context>pattern-match</context>
<required>true</required>
<description>Regular expression used to identify device from received data (must match the whole line)</description>
</parameter>
</config-description>

View File

@ -13,11 +13,10 @@
</channels>
<config-description>
<parameter name="port" type="text">
<parameter name="port" type="text" required="true">
<label>Serial Port</label>
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<required>true</required>
<description>The serial port that the button is connected to</description>
</parameter>
</config-description>

View File

@ -8,26 +8,23 @@
<description>A Sinopé Gateway</description>
<config-description>
<parameter name="hostname" type="text">
<parameter name="hostname" type="text" required="true">
<label>Hostname</label>
<description>Hostname of the Sinopé Gateway</description>
<context>network-address</context>
<required>true</required>
</parameter>
<parameter name="port" type="integer">
<label>Port</label>
<description>The port that the Sinopé Gateway listens on</description>
<default>4550</default>
</parameter>
<parameter name="gatewayId" type="text">
<parameter name="gatewayId" type="text" required="true">
<label>Gateway ID</label>
<description>The Sinopé gateway ID (as printed on the back-side, e.g. "xxxx xxxx xxxx xxxx")</description>
<required>true</required>
</parameter>
<parameter name="apiKey" type="text">
<parameter name="apiKey" type="text" required="true">
<label>API Key</label>
<description>Use sinope-core application to generate your api key</description>
<required>true</required>
</parameter>
<parameter name="refresh" type="integer" required="false">
<label>Refresh Interval</label>

View File

@ -14,21 +14,18 @@
</properties>
<config-description>
<parameter name="username" type="text">
<parameter name="username" type="text" required="true">
<label>Username</label>
<description>Username of a registered SleepIQ account owner</description>
<required>true</required>
</parameter>
<parameter name="password" type="text">
<parameter name="password" type="text" required="false">
<context>password</context>
<label>Password</label>
<description>Password of a registered SleepIQ account owner</description>
<required>false</required>
</parameter>
<parameter name="pollingInterval" type="integer" min="30" step="30">
<parameter name="pollingInterval" type="integer" min="30" step="30" required="true">
<label>Polling Interval</label>
<description>Seconds between fetching values from the cloud service</description>
<required>true</required>
<default>60</default>
</parameter>
</config-description>
@ -49,10 +46,9 @@
</channel-groups>
<config-description>
<parameter name="bedId" type="text">
<parameter name="bedId" type="text" required="true">
<label>Bed ID</label>
<description>The bed identifier identifies a specific bed</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -73,10 +69,9 @@
</channel-groups>
<config-description>
<parameter name="bedId" type="text">
<parameter name="bedId" type="text" required="true">
<label>Bed ID</label>
<description>The bed identifier identifies a specific bed</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -9,10 +9,9 @@
<label>Smart Meter</label>
<description>The meter device to read the SML or IEC 62056-21 messages from</description>
<config-description>
<parameter name="port" type="text">
<parameter name="port" type="text" required="true">
<label>Serial Port</label>
<description>The device serial port (e.g. /dev/tty0 or COM1)</description>
<required>true</required>
<limitToOptions>false</limitToOptions>
<context>serial-port</context>
</parameter>

View File

@ -10,12 +10,10 @@
<parameter name="opmlUrl" type="text">
<label>OPML Service URL</label>
<description>URL for the OPML/tunein.com service</description>
<required>false</required>
</parameter>
<parameter name="callbackUrl" type="text">
<label>Callback URL</label>
<description>URL to use for playing notification sounds, e.g. http://192.168.0.2:8080</description>
<required>false</required>
</parameter>
</config-description>

View File

@ -64,20 +64,17 @@
<representation-property>clientId</representation-property>
<config-description>
<parameter name="clientId" type="text">
<required>true</required>
<parameter name="clientId" type="text" required="true">
<label>Application Client ID</label>
<description>This is the Client ID provided by Spotify when you add a new Application for openHAB to your Spotify
Account. Go to https://developer.spotify.com/</description>
</parameter>
<parameter name="clientSecret" type="text">
<required>true</required>
<parameter name="clientSecret" type="text" required="true">
<label>Application Client Secret</label>
<description>This is the Client Secret provided by Spotify when you add a new Application for openHAB to your
Spotify Account.</description>
</parameter>
<parameter name="refreshPeriod" type="integer" min="1" max="60">
<required>true</required>
<parameter name="refreshPeriod" type="integer" min="1" max="60" required="true">
<default>10</default>
<label>Connect Refresh Period (seconds)</label>
<description>This is the frequency of the polling requests to the Spotify Connect Web API. There are limits to the
@ -116,8 +113,7 @@
<representation-property>deviceName</representation-property>
<config-description>
<parameter name="deviceName" type="text">
<required>true</required>
<parameter name="deviceName" type="text" required="true">
<label>Spotify Device Name</label>
<description>This is the device name provided by Spotify.</description>
</parameter>

View File

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

View File

@ -29,9 +29,8 @@
<default>60</default>
<advanced>true</advanced>
</parameter>
<parameter name="stationId" type="integer">
<parameter name="stationId" type="integer" required="true">
<label>Station Number</label>
<required>true</required>
</parameter>
</config-description>

View File

@ -55,7 +55,6 @@
<parameter name="updateinterval" type="integer" required="false">
<label>Update Interval</label>
<description>Data update interval in seconds (default: 60s)</description>
<required>false</required>
<default>60</default>
</parameter>
</config-description>

View File

@ -5,12 +5,11 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="bridge-type:velbus:bridge">
<parameter name="port" type="text">
<parameter name="port" type="text" required="true">
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<label>Serial Port</label>
<description>Select serial port (COM1, /dev/ttyS0, ...)</description>
<required>true</required>
</parameter>
<parameter name="timeUpdateInterval" type="integer" unit="min">
<label>Time Update Interval</label>
@ -33,12 +32,10 @@
<context>network-address</context>
<label>IP Address or Hostname</label>
<description>IP Address or hostname of Velbus server</description>
<required>true</required>
</parameter>
<parameter name="port" type="integer" required="false">
<parameter name="port" type="integer" required="true">
<label>Port</label>
<description>Network port to communicate with Velbus server</description>
<required>true</required>
</parameter>
<parameter name="timeUpdateInterval" type="integer" unit="min">
<label>Time Update Interval</label>

View File

@ -6,16 +6,14 @@
https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="thing-type:volvooncall:vocapi">
<parameter name="username" type="text">
<parameter name="username" type="text" required="true">
<label>Username</label>
<description>Your VOC username (email)</description>
<required>true</required>
</parameter>
<parameter name="password" type="text">
<parameter name="password" type="text" required="true">
<label>Password</label>
<description>Your VOC password</description>
<required>true</required>
<context>password</context>
</parameter>
</config-description>