diff --git a/bundles/org.openhab.binding.wiz/src/main/java/org/openhab/binding/wiz/internal/handler/WizHandler.java b/bundles/org.openhab.binding.wiz/src/main/java/org/openhab/binding/wiz/internal/handler/WizHandler.java index 1b91a47ebf7f0..f6108051c2f1f 100644 --- a/bundles/org.openhab.binding.wiz/src/main/java/org/openhab/binding/wiz/internal/handler/WizHandler.java +++ b/bundles/org.openhab.binding.wiz/src/main/java/org/openhab/binding/wiz/internal/handler/WizHandler.java @@ -592,7 +592,7 @@ private synchronized void updateStatesFromParams(final WizSyncState receivedPara strength = 4; } updateDeviceState(CHANNEL_SIGNAL_STRENGTH, new DecimalType(strength)); - updateDeviceState(CHANNEL_RSSI, new QuantityType<>(receivedParam.rssi, Units.DECIBEL)); + updateDeviceState(CHANNEL_RSSI, new QuantityType<>(receivedParam.rssi, Units.DECIBEL_MILLIWATTS)); } } diff --git a/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/thing/thing-types.xml index 9b6b103643dc4..a5e1c78a64025 100644 --- a/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/thing/thing-types.xml @@ -17,6 +17,9 @@ + + 1 + @@ -34,6 +37,9 @@ + + 1 + @@ -49,6 +55,9 @@ + + 1 + @@ -62,6 +71,9 @@ + + 1 + @@ -78,6 +90,9 @@ + + 1 + @@ -90,6 +105,9 @@ + + 1 + @@ -185,7 +203,7 @@ - Number:Dimensionless + Number:Power WiFi Received Signal Strength Indicator QualityOfService diff --git a/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 0000000000000..febf38265f659 --- /dev/null +++ b/bundles/org.openhab.binding.wiz/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,54 @@ + + + + + + + wiz:rssi + + + + + + + + wiz:rssi + + + + + + + + wiz:rssi + + + + + + + + wiz:rssi + + + + + + + + wiz:rssi + + + + + + + + wiz:rssi + + + + +