[enocean] Fix deprecated tag "required" (#10353)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-03-20 16:13:55 +01:00 committed by GitHub
parent 14888e0612
commit ebdb9164a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 50 additions and 103 deletions

View File

@ -5,15 +5,13 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="enocean:genericChannel:config">
<parameter name="transformationType" type="text">
<parameter name="transformationType" type="text" required="true">
<label>Transformation Type</label>
<description>The type of the transformation, e.g. "MAP"</description>
<required>true</required>
</parameter>
<parameter name="transformationFunction" type="text">
<parameter name="transformationFunction" type="text" required="true">
<label>Transformation Function</label>
<description>The transformation function, e.g. for transformation type map => filename of mapping file</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -14,12 +14,11 @@
<description>Sensor for different meters like energy measurement (EEP: A5-12)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by panel</description>
<options>
@ -29,7 +28,6 @@
<option value="A5_12_03">A5-12-03 Water</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
</config-description>

View File

@ -13,30 +13,28 @@
<description>Controls a switching or dimming actuator (EEP: A5-38)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="A5_38_08_01">Gateway command - switching (A5_38_08 sub command 0x01)</option>
<option value="A5_38_08_02">Gateway command - dimming (A5_38_08 sub command 0x02)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>
<default>true</default>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP for Receiving States</label>
<options>
<option value="F6_00_00">PTM200 (F6 message widely used by Eltako devices)</option>
@ -44,7 +42,6 @@
<option value="A5_11_04">Extended lighting status (A5-11-04)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="suppressRepeating" type="boolean">
<label>Suppress Repeating of Messages</label>

View File

@ -25,7 +25,7 @@
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<description>EEP which is used to control the device</description>
<options>
@ -34,9 +34,8 @@
</options>
<limitToOptions>true</limitToOptions>
<default>F6_02_01</default>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP for Receiving States</label>
<description>EEP which is used by rocker switch listener(s)</description>
<options>
@ -45,7 +44,6 @@
</options>
<limitToOptions>true</limitToOptions>
<default>F6_02_01</default>
<required>true</required>
</parameter>
<parameter name="suppressRepeating" type="boolean">
<label>Suppress Repeating of Messages</label>

View File

@ -13,12 +13,11 @@
<description>Single input contact sensor (EEP: D5-00)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text" multiple="true">
<parameter name="receivingEEPId" type="text" multiple="true" required="true">
<label>EEP</label>
<description>EEP which is used by contact</description>
<options>
@ -30,7 +29,6 @@
<default>D5_00_01</default>
<multipleLimit>2</multipleLimit>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,19 +13,17 @@
<description>Sensor for different environmental sensors like a weather station (EEP: A5-13)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
<option value="A5_13_01">A5-13-01 Weather station</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -13,17 +13,16 @@
<description>Thing whose EEP is unsupported. Use a TRANSFORM to convert things messages.</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="F6_FF_FF">Generic RPS (F6)</option>
@ -31,9 +30,8 @@
<option value="D2_FF_FF">Generic VLD (D2)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP for Receiving States</label>
<options>
<option value="F6_FF_FF">Generic RPS (F6)</option>
@ -41,7 +39,6 @@
<option value="D2_FF_FF">Generic VLD (D2)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>

View File

@ -13,18 +13,16 @@
<description>Sensor and actuator to control heat recovery ventilation units (EEP: D2-50)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
<required>true</required>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="D2_50_00">D2-50-00 Single Room Ventilation Unit</option>
@ -33,13 +31,12 @@
<option value="D2_50_11">D2-50-11 Multi Room Ventilation Unit With Bypass</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>
<default>false</default>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by Ventilation Unit</description>
<options>
@ -49,7 +46,6 @@
<option value="D2_50_11">D2-50-11 Multi Room Ventilation Unit With Bypass</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="suppressRepeating" type="boolean">
<label>Suppress Repeating of Messages</label>

View File

@ -13,12 +13,11 @@
<description>Sensor which sends light data (EEP: A5-06)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -26,7 +25,6 @@
<option value="A5_06_01_ELTAKO">A5-06-01 ELTAKO</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,12 +13,11 @@
<description>Sensor which sends light, temperature and occupancy data (EEP: A5-08)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -28,7 +27,6 @@
<option value="A5_08_01_FXBH">Eltako FxBH lux range [0;2048]</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,23 +13,21 @@
<description>Electronic switches and dimmers with energy measurement and local control (EEP: D2-01)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
<required>true</required>
</parameter>
<parameter name="pollingInterval" type="integer" min="0" unit="s">
<label>Polling Interval</label>
<description>Time in seconds after a refresh is triggerd, 0 to disable</description>
<default>300</default>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="D2_01_00">Switching and energy measurement (EEP: D2_01_00)</option>
@ -55,13 +53,12 @@
<option value="D2_01_12_NODON">NodON SIN-2-2-0x (EEP: D2_01_12)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>
<default>false</default>
</parameter>
<parameter name="receivingEEPId" type="text" multiple="true">
<parameter name="receivingEEPId" type="text" multiple="true" required="true">
<label>EEP for Receiving Commands</label>
<options>
<option value="D2_01_00">Switching and energy measurement (EEP: D2_01_00)</option>
@ -89,7 +86,6 @@
</options>
<multipleLimit>2</multipleLimit>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="suppressRepeating" type="boolean">
<label>Suppress Repeating of Messages</label>

View File

@ -14,12 +14,11 @@
<description>Mechanical handle sensor for window/door handles</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by handle</description>
<options>
@ -29,7 +28,6 @@
<option value="A5_14_0A">A5-14-0A</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,12 +13,11 @@
<description>Multi Function Sensor like a Smoke Detector (EEP: F6-05, D2-14)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -26,7 +25,6 @@
<option value="D2_14_30">D2-14-30 multi function sensor for smoke</option>
<option value="A5_30_03_ELTAKO">A5-30-03 Eltako smoke detectors (FHMB, FRWB)</option>
</options>
<required>true</required>
</parameter>
</config-description>

View File

@ -13,12 +13,11 @@
<description>Sensor which sends light, supply voltage and occupancy data (EEP: A5-07)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -27,7 +26,6 @@
<option value="A5_07_03">A5-07-03 battery voltage, lux range [0;1000]</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -14,12 +14,11 @@
<description>Represents a physical Push Button (EEP: F6-01, D2-03)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by push button</description>
<options>
@ -28,7 +27,6 @@
</options>
<limitToOptions>true</limitToOptions>
<default>F6_01_01</default>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -23,12 +23,11 @@
</channels>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by rocker switch</description>
<options>
@ -36,7 +35,6 @@
<option value="F6_02_02">F6-02-02 (upper rocker => DIR2)</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -13,10 +13,9 @@
<description>Rollershutter like Eltako FSB14/61/71 or NodOn SIN-2-RS-01 (EEP: A5-37, D2-05)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
@ -28,7 +27,7 @@
<description>Time in seconds after a refresh is triggered, 0 to disable</description>
<default>300</default>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="A5_3F_7F_EltakoFSB">Eltako FSB14/61/71</option>
@ -37,13 +36,12 @@
</options>
<default>A5_3F_7F_EltakoFSB</default>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>
<default>true</default>
</parameter>
<parameter name="receivingEEPId" type="text" multiple="true">
<parameter name="receivingEEPId" type="text" multiple="true" required="true">
<label>EEP for Receiving States</label>
<options>
<option value="A5_3F_7F_EltakoFSB">Eltako FSB14/61/71</option>
@ -53,7 +51,6 @@
</options>
<multipleLimit>4</multipleLimit>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="suppressRepeating" type="boolean">
<label>Suppress Repeating of Messages</label>

View File

@ -13,12 +13,11 @@
<description>Room operating panel with different kinds of sensors (EEP: A5-10)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by panel</description>
<options>
@ -58,7 +57,6 @@
<option value="A5_10_23">A5-10-23 temperature and humidity sensor, set point, fan speed and occupancy control</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
</config-description>

View File

@ -13,12 +13,11 @@
<description>Sensor which sends temperature and humidity data (EEP: A5-04)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -28,7 +27,6 @@
<option value="A5_04_03">A5-04-03 temperature sensor range (10 bit) [-20;60]</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,12 +13,11 @@
<description>Sensor which send temperature data (EEP: A5-02)</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by panel</description>
<options>
@ -49,7 +48,6 @@
<option value="A5_02_30">A5-02-30 temperature sensor range [-40;62.3]</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="receivingSIGEEP" type="boolean">
<label>Receive Battery Status Signal Messages</label>

View File

@ -13,18 +13,16 @@
<description>Sensor and actuator to control radiator thermostats</description>
<config-description>
<parameter name="enoceanId" type="text">
<parameter name="enoceanId" type="text" required="true">
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
<required>true</required>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>
<required>true</required>
</parameter>
<parameter name="receivingEEPId" type="text">
<parameter name="receivingEEPId" type="text" required="true">
<label>EEP</label>
<description>EEP which is used by sensor</description>
<options>
@ -33,9 +31,8 @@
</options>
<default>"A5_20_04"</default>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="sendingEEPId" type="text">
<parameter name="sendingEEPId" type="text" required="true">
<label>EEP for Sending Commands</label>
<options>
<option value="A5_20_04">Heating radiator valve actuating drive with feed and room temperature measurement, local set
@ -43,7 +40,6 @@
</options>
<default>"A5_20_04"</default>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
<parameter name="broadcastMessages" type="boolean">
<label>Send Broadcast Messages</label>

View File

@ -15,12 +15,11 @@
</channels>
<config-description>
<parameter name="path" type="text">
<parameter name="path" type="text" required="true">
<label>Path</label>
<description>Path to the EnOcean gateway</description>
<required>true</required>
</parameter>
<parameter name="espVersion" type="text">
<parameter name="espVersion" type="text" required="true">
<advanced>true</advanced>
<label>ESP version of received and transmitting messages</label>
<options>
@ -28,7 +27,6 @@
<option value="ESP2">ESP2</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
<default>ESP3</default>
</parameter>
<parameter name="enableSmack" type="boolean">