From 195a37e36ed7b85533d3d23c11aa1cd8f6b02207 Mon Sep 17 00:00:00 2001 From: Haavar Valeur Date: Mon, 29 Aug 2022 13:57:12 -0700 Subject: [PATCH] [Konnected] Removed defaults for zone configuration parameter from the channels (#13333) * Removed defaults from zone parameter * Corrected the name of the zone property in example Signed-off-by: Haavar Valeur --- .../org.openhab.binding.konnected/README.md | 20 +++++++++---------- .../resources/OH-INF/thing/thing-types.xml | 4 ---- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/bundles/org.openhab.binding.konnected/README.md b/bundles/org.openhab.binding.konnected/README.md index dff17d831..80cd3bcb9 100644 --- a/bundles/org.openhab.binding.konnected/README.md +++ b/bundles/org.openhab.binding.konnected/README.md @@ -92,19 +92,19 @@ Switch item=Siren label="Alarm Siren" icon="Siren" mappings=[ON="Open", OFF="Clo ``` Thing konnected:wifi-module:generic "Konnected Module" [baseUrl="http://192.168.30.153:9586", macAddress="1586517"]{ - Type switch : switch-wifi "Front Door" [channel_zone=1] - Type actuator : actuator-wifi "Siren" [channel_zone=1, momentary = 50, times = 2, pause = 50] - Type humidity : humidity-wifi "DHT - Humidity" [channel_zone=1] - Type temperature : temperature-wifi "DHT Temperature" [channel_zone=1, tempsensorType = true, pollinterval = 1] - Type temperature : temperature-wifi "DS18B20 Temperature" [channel_zone=1, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"] + Type switch : switch-wifi "Front Door" [zone=1] + Type actuator : actuator-wifi "Siren" [zone=2, momentary = 50, times = 2, pause = 50] + Type humidity : humidity-wifi "DHT - Humidity" [zone=3] + Type temperature : temperature-wifi "DHT Temperature" [zone=4, tempsensorType = true, pollinterval = 1] + Type temperature : temperature-wifi "DS18B20 Temperature" [zone=5, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"] } Thing konnected:pro-module:generic "Konnected Module" [baseUrl="http://192.168.30.154:9586", macAddress="1684597"]{ - Type switch : switch-pro "Front Door" [channel_zone=1] - Type actuator : actuator-pro "Siren" [channel_zone=1, momentary = 50, times = 2, pause = 50] - Type humidity : humidity-pro "DHT - Humidity" [channel_zone=1] - Type temperature : temperature-pro "DHT Temperature" [channel_zone=1, tempsensorType = true, pollinterval = 1] - Type temperature : temperature-pro "DS18B20 Temperature" [channel_zone=1, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"] + Type switch : switch-pro "Front Door" [zone=1] + Type actuator : actuator-pro "Siren" [zone=2, momentary = 50, times = 2, pause = 50] + Type humidity : humidity-pro "DHT - Humidity" [zone=3] + Type temperature : temperature-pro "DHT Temperature" [zone=4, tempsensorType = true, pollinterval = 1] + Type temperature : temperature-pro "DS18B20 Temperature" [zone=5, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"] } ``` diff --git a/bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml index bb53cc9f9..38196d49c 100644 --- a/bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml @@ -26,7 +26,6 @@ The Zone Number of the channel. - 6 @@ -111,7 +110,6 @@ The Zone Number of the channel. - 7 @@ -155,7 +153,6 @@ The zone number of the channel. - 4 @@ -191,7 +188,6 @@ The zone number of the channel. - 2