[hue] Deprecated tag "required" for configuration parameter (#9034)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2020-11-15 12:28:44 +01:00 committed by GitHub
parent 7daea2dfd5
commit 3499acfcf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 17 additions and 37 deletions

View File

@ -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:hue:presencesensor">
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>
@ -30,10 +29,9 @@
</config-description>
<config-description uri="thing-type:hue:geofencesensor">
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -20,10 +20,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -20,10 +20,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -21,10 +21,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The light identifier identifies one certain hue light.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -22,10 +22,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The light identifier identifies one certain hue light.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -20,10 +20,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The light identifier identifies one certain hue light.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -19,10 +19,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -23,10 +23,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -22,10 +22,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The light identifier identifies one certain hue light.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -24,10 +24,9 @@
<representation-property>groupId</representation-property>
<config-description>
<parameter name="groupId" type="text">
<parameter name="groupId" type="text" required="true">
<label>Group ID</label>
<description>The group identifier identifies one certain hue group or room.</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0" step="100" unit="ms">
<label>Fade Time</label>

View File

@ -25,10 +25,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -20,10 +20,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The light identifier identifies one certain hue light.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -19,10 +19,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="lightId" type="text">
<parameter name="lightId" type="text" required="true">
<label>Light ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -21,10 +21,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -22,10 +22,9 @@
<representation-property>uniqueId</representation-property>
<config-description>
<parameter name="sensorId" type="text">
<parameter name="sensorId" type="text" required="true">
<label>Sensor ID</label>
<description>The identifier that is used within the hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="on" type="boolean">
<label>Sensor Status</label>

View File

@ -18,11 +18,10 @@
<representation-property>serialNumber</representation-property>
<config-description>
<parameter name="ipAddress" type="text">
<parameter name="ipAddress" type="text" required="true">
<context>network-address</context>
<label>Network Address</label>
<description>Network address of the Hue bridge.</description>
<required>true</required>
</parameter>
<parameter name="port" type="integer" required="false" min="1" max="65535">
<label>Port</label>
@ -32,12 +31,10 @@
<context>password</context>
<label>Username</label>
<description>Name of a registered Hue bridge user, that allows to access the API.</description>
<required>false</required>
</parameter>
<parameter name="pollingInterval" type="integer" min="1" step="1" unit="s">
<label>Polling Interval</label>
<description>Seconds between fetching values from the Hue bridge. Default is 10.</description>
<required>true</required>
<default>10</default>
</parameter>
<parameter name="sensorPollingInterval" type="integer" min="0" step="1" unit="ms">
@ -45,7 +42,6 @@
<description>Milliseconds between fetching sensor-values from the Hue bridge. A higher value means more delay for
the sensor values, but a too low value can cause congestion on the Hue bridge. Use 0 to disable the polling for
sensors. Default is 500.</description>
<required>true</required>
<default>500</default>
</parameter>
</config-description>