From: lolodomo Date: Sat, 20 Mar 2021 15:09:32 +0000 (+0100) Subject: [onewire] Fix deprecated tag "required" (#10354) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=2c0015dda73c7de0cbed433637dc529b65099c62;p=openhab-addons.git [onewire] Fix deprecated tag "required" (#10354) Signed-off-by: Laurent Garnier --- diff --git a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/config/config.xml index 994537637a..4b7b222725 100644 --- a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/config/config.xml @@ -4,33 +4,29 @@ xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0" xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd"> - + Sensor ID in format: xx.xxxxxxxxxxxx or a full path including hubs/branches - true - + Time in seconds after which the thing is refreshed 300 s - false - + Sensor ID in format: xx.xxxxxxxxxxxx or a full path including hubs/branches - true - + Time in seconds after which the thing is refreshed 300 s - false - + Overrides detected sensor type @@ -41,7 +37,6 @@ true - false true diff --git a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bae09x.xml b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bae09x.xml index 38973babbb..79e2d72a2c 100644 --- a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bae09x.xml +++ b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bae09x.xml @@ -13,10 +13,9 @@ 1 - + Sensor ID in format: xx.xxxxxxxxxxxx) - true diff --git a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bridge.xml b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bridge.xml index 0c0f85075e..b0f5501b14 100644 --- a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bridge.xml +++ b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/bridge.xml @@ -7,17 +7,15 @@ An owserver instance - + network_address Network address of the host running the owserver - true - + Listening port of the owserver 4304 - false @@ -27,17 +25,15 @@ Allows direct access to the OWFS - + full path to the OWFS-node (e.g. statistics/errors/CRC8_errors) - true - + Time in seconds after which the channel is refreshed 300 s - false @@ -47,17 +43,15 @@ Allows direct access to the OWFS - + full path to the OWFS-node (e.g. statistics/errors/CRC8_errors) - true - + Time in seconds after which the channel is refreshed 300 s - false diff --git a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/common.xml b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/common.xml index 482c37f3eb..762237d359 100644 --- a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/common.xml +++ b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/common.xml @@ -23,11 +23,10 @@ temperature value of this sensor - + filters all 85°C readings (POR-value), may suppress valid readings if enabled false - false @@ -37,13 +36,12 @@ temperature value of this sensor - + filters all 85°C readings (POR-value), may suppress valid readings if enabled false - false - + @@ -53,7 +51,6 @@ 10 true - false @@ -77,7 +74,7 @@ relative humidity (0-100%) - + true @@ -87,7 +84,6 @@ /humidity - false diff --git a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/multisensor.xml b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/multisensor.xml index 3af91defdc..7d65617e27 100644 --- a/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/multisensor.xml +++ b/bundles/org.openhab.binding.onewire/src/main/resources/OH-INF/thing/multisensor.xml @@ -18,19 +18,17 @@ 1-wire multisensor (DS2438-based) - + Sensor ID of the DS2438 sensor in format: xx.xxxxxxxxxxxx or a full path including hubs/branches - true - + Time in seconds after which the thing is refreshed 300 s - false - + @@ -38,7 +36,6 @@ DS2438 true - false @@ -49,26 +46,23 @@ 1-wire multisensor (DS2438-based) - + Sensor ID of the DS2438 sensor in format: xx.xxxxxxxxxxxx or a full path including hubs/branches - true - + Time in seconds after which the thing is refreshed 300 s - false - + Time in seconds after which the digital I/Os are refreshed 10 s - false - + @@ -76,7 +70,6 @@ DS2438 true - false @@ -90,17 +83,15 @@ 1 - + Sensor ID in format: xx.xxxxxxxxxxxx) - true - + Time in seconds after which the thing is refreshed 300 s - false