Skip to content

Commit

Permalink
[enocean] Fix deprecated tag "required" (openhab#10353)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
  • Loading branch information
lolodomo authored and thinkingstone committed Nov 7, 2021
1 parent 84a9283 commit 6c9265f
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -29,7 +28,6 @@
<option value="A5_12_03">A5-12-03 Water</option>
</options>
<limitToOptions>true</limitToOptions>
<required>true</required>
</parameter>
</config-description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,35 @@
<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>
<option value="A5_38_08_02">Message with dimming value (A5_38_08 sub command 0x02)</option>
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,32 @@
<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>
<option value="A5_FF_FF">Generic 4BS (A5)</option>
<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>
<option value="A5_FF_FF">Generic 4BS (A5)</option>
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,18 @@
<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>
<option value="A5_06_01">A5-06-01</option>
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,18 @@
<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>
<option value="F6_05_02">F6-05-02 smoke detector</option>
<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>

Expand Down
Loading

0 comments on commit 6c9265f

Please sign in to comment.