mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[bindings l-n] Fix deprecated tag "required" (#10420)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
62a0e7ac02
commit
843e8d2904
@ -10,18 +10,15 @@
|
||||
<label>Hostname</label>
|
||||
<description>The hostname or the IP address of the PCK gateway</description>
|
||||
<context>network-address</context>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="port" type="integer" required="true" min="1" max="65535">
|
||||
<label>Port</label>
|
||||
<description>The IP port of the PCK gateway</description>
|
||||
<default>4114</default>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="username" type="text" required="true">
|
||||
<label>Username</label>
|
||||
<description>The login username of the PCK gateway</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="password" type="text" required="true">
|
||||
<label>Password</label>
|
||||
@ -36,7 +33,6 @@
|
||||
<option value="native50">0 - 50</option>
|
||||
<option value="native200">0 - 200</option>
|
||||
</options>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="timeoutMs" type="integer" required="true" unit="ms">
|
||||
<label>Connection Timeout</label>
|
||||
@ -91,7 +87,6 @@
|
||||
<option value="angle">Angle (°)</option>
|
||||
<option value="windspeed">Windspeed (m/s)</option>
|
||||
</options>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="parameter" type="integer" min="1">
|
||||
<label>Pulses per kWh</label>
|
||||
|
@ -4,17 +4,15 @@
|
||||
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:lgtvserial:serial">
|
||||
<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="setId" type="integer">
|
||||
<parameter name="setId" type="integer" required="true">
|
||||
<label>Set ID</label>
|
||||
<description>Set ID configured in the TV. If 0, this will send a command to every chained TV.</description>
|
||||
<required>true</required>
|
||||
<default>1</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
@ -23,10 +23,9 @@
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description uri="thing-type:magentatv:receiver">
|
||||
<parameter name="ipAddress" type="text">
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Device IP Address</label>
|
||||
<description>IP address of the receiver</description>
|
||||
<required>true</required>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
<parameter name="accountName" type="text">
|
||||
@ -42,10 +41,9 @@
|
||||
<label>User ID</label>
|
||||
<description>Technical User ID required for pairing process</description>
|
||||
</parameter>
|
||||
<parameter name="udn" type="text">
|
||||
<parameter name="udn" type="text" required="true">
|
||||
<label>Unique Device Name</label>
|
||||
<description>The UDN identifies the Media Receiver</description>
|
||||
<required>true</required>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
<parameter name="port" type="text">
|
||||
|
@ -118,7 +118,6 @@
|
||||
<config-description>
|
||||
<parameter name="folder" type="text" required="true">
|
||||
<label>Folder Name</label>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="type" type="text" required="false">
|
||||
<options>
|
||||
|
@ -5,10 +5,9 @@
|
||||
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:mihome:device">
|
||||
<parameter name="itemId" type="text">
|
||||
<parameter name="itemId" type="text" required="true">
|
||||
<label>MiHome Device ID</label>
|
||||
<description>The identifier of this MiHome device</description>
|
||||
<required>true</required>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
@ -20,33 +19,29 @@
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="ipAddress" type="text">
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<context>network-address</context>
|
||||
<label>Network Address</label>
|
||||
<description>Network address of this Xiaomi bridge</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="port" type="integer">
|
||||
<parameter name="port" type="integer" required="true">
|
||||
<context>network-address</context>
|
||||
<label>Port</label>
|
||||
<description>Port of the MiHome communication channel</description>
|
||||
<required>true</required>
|
||||
<default>9898</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="interface" type="text">
|
||||
<parameter name="interface" type="text" required="false">
|
||||
<label>Interface</label>
|
||||
<description>Interface to bind to for the MiHome communication channel</description>
|
||||
<required>false</required>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="key" type="text">
|
||||
<parameter name="key" type="text" required="false">
|
||||
<label>Developer Key</label>
|
||||
<description>Developer key extracted from Xiaomi's app</description>
|
||||
<required>false</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</config-description:config-descriptions>
|
||||
|
@ -6,22 +6,19 @@
|
||||
<description>Binding for Xiaomi Mi IO devices like Mi Robot Vacuum</description>
|
||||
|
||||
<config-description>
|
||||
<parameter name="username" type="text">
|
||||
<parameter name="username" type="text" required="false">
|
||||
<label>Xiaomi cloud username</label>
|
||||
<description>Xiaomi cloud username. Typically your email</description>
|
||||
<required>false</required>
|
||||
</parameter>
|
||||
<parameter name="password" type="text">
|
||||
<parameter name="password" type="text" required="false">
|
||||
<label>Xiaomi cloud password</label>
|
||||
<required>false</required>
|
||||
</parameter>
|
||||
<parameter name="country" type="text">
|
||||
<parameter name="country" type="text" required="false">
|
||||
<label>Xiaomi server country</label>
|
||||
<description>Xiaomi server country(s) (e.g. sg,de). Separate multiple servers with comma. Leave empty for all. See
|
||||
binding readme for country to server mapping</description>
|
||||
<required>false</required>
|
||||
</parameter>
|
||||
<parameter name="cloudDiscoveryMode" type="text">
|
||||
<parameter name="cloudDiscoveryMode" type="text" required="false">
|
||||
<default>disabled</default>
|
||||
<label>Cloud Discovery Mode</label>
|
||||
<description>Allow for discovery via the cloud. This may be used for devices that are not on the same network as
|
||||
@ -31,7 +28,6 @@
|
||||
<option value="supportedOnly">Discover online supported devices from Xiaomi cloud</option>
|
||||
<option value="all">Discover all online devices from Xiaomi cloud</option>
|
||||
</options>
|
||||
<required>false</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
|
@ -75,18 +75,16 @@
|
||||
<representation-property>mac</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="hostname" type="text">
|
||||
<parameter name="hostname" type="text" required="true">
|
||||
<label>Hostname</label>
|
||||
<description>The host name or IP address of the myStrom bulb.</description>
|
||||
<context>network-address</context>
|
||||
<default>localhost</default>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="refresh" type="integer" unit="s" min="1">
|
||||
<parameter name="refresh" type="integer" unit="s" min="1" required="true">
|
||||
<label>Refresh Interval</label>
|
||||
<description>Specifies the refresh interval in seconds.</description>
|
||||
<default>10</default>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
|
@ -9,16 +9,14 @@
|
||||
<description>Access to Neato Account. Used to discover robots tied to account.</description>
|
||||
|
||||
<config-description>
|
||||
<parameter name="email" type="text">
|
||||
<parameter name="email" type="text" required="true">
|
||||
<label>E-mail Address</label>
|
||||
<description>E-mail address for your Neato Cloud account.</description>
|
||||
<required>true</required>
|
||||
<context>email</context>
|
||||
</parameter>
|
||||
<parameter name="password" type="text">
|
||||
<parameter name="password" type="text" required="true">
|
||||
<label>Password</label>
|
||||
<description>Password for your Neato Cloud account.</description>
|
||||
<required>true</required>
|
||||
<context>password</context>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
@ -14,15 +14,13 @@
|
||||
<description>Local settings</description>
|
||||
</parameter-group>
|
||||
|
||||
<parameter name="productId" type="text" groupName="oauth">
|
||||
<parameter name="productId" type="text" groupName="oauth" required="true">
|
||||
<label>Product ID</label>
|
||||
<description>The product ID from the Nest product page</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="productSecret" type="text" groupName="oauth">
|
||||
<parameter name="productSecret" type="text" groupName="oauth" required="true">
|
||||
<label>Product Secret</label>
|
||||
<description>The product secret from the Nest product page</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
<parameter name="pincode" type="text" groupName="oauth">
|
||||
<label>Pincode</label>
|
||||
|
@ -8,11 +8,10 @@
|
||||
and Welcome Camera.</description>
|
||||
|
||||
<config-description>
|
||||
<parameter name="backgroundDiscovery" type="boolean">
|
||||
<parameter name="backgroundDiscovery" type="boolean" required="false">
|
||||
<label>Background Discovery</label>
|
||||
<description>If set to true, the device and its associated modules are updated in the discovery inbox at each API
|
||||
call run to refresh device data. Default is false.</description>
|
||||
<required>false</required>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
Loading…
Reference in New Issue
Block a user