]> git.basschouten.com Git - openhab-addons.git/commitdiff
[miio] fix typo in temperatue unit (#10869)
authorMarcel <marcel@verpaalen.com>
Wed, 16 Jun 2021 08:27:04 +0000 (10:27 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 08:27:04 +0000 (10:27 +0200)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
23 files changed:
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoQuantiyTypes.java
bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json
bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json
bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json
bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json
bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json
bundles/org.openhab.binding.miio/src/main/resources/database/nwt.derh.wdh318efw1.json
bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json
bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json
bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json
bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.vb2-miot.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json
bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json
bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json

index 9b931a91c2a2944ac3cb5e2daf036adf99f43459..65a4f8020ddff0f2b486ca11d95137c35c12e405 100644 (file)
@@ -36,7 +36,7 @@ import org.openhab.core.library.unit.Units;
 @NonNullByDefault
 public enum MiIoQuantiyTypes {
 
-    CELCIUS(SIUnits.CELSIUS, "C"),
+    CELSIUS(SIUnits.CELSIUS, "C", "celcius"),
     FAHRENHEIT(ImperialUnits.FAHRENHEIT),
     KELVIN(Units.KELVIN, "K"),
     PASCAL(SIUnits.PASCAL),
index 3dffde6d50e77cc8013792b14b5f337833edd853..a91b75b79ec9cc069650adbbcee76d4621702dc7 100644 (file)
@@ -72,7 +72,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "ChannelGroup": "Status",
                                "actions": [],
index 99d2f2d2b749c949dc15ef785c06b5843b37eeaf..75202f8aaa16323a2562db95fafca3c40a4aba17 100644 (file)
@@ -74,7 +74,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index a4ac285faabe29318c941ce70b89bbce44cc569e..3e2d57876aa5901efc7cf3c208d3bee4ba346e43 100644 (file)
@@ -29,7 +29,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index 2f80b97cb968d070ae02ac86a6399c92914b0137..4d110f8e0dc53ab5eb9257f4dad01c6562ba88a2 100644 (file)
@@ -42,7 +42,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [],
                                "category": "temperature",
index fbc7759e4d0110345335b50607a0c9c3a41a172a..4670777563b83aabe99a4998d88217b837648e5b 100644 (file)
@@ -45,7 +45,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index 1e1cfd0c42a2f3731ed0b581985ac447507ea72c..b743b7ed1f9ea9a2a2e50c1075b606c43c133302 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "ChannelGroup": "Status",
                                "actions": [],
index ba863494eb4816bd44aefae2d1334be6a81b420a..f8759bfdcd2b15e13e25e7530be44612bd9eb3c4 100644 (file)
@@ -37,7 +37,7 @@
                                "friendlyName": "Water Temperature",
                                "channel": "waterTemp",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [
                                        {
@@ -56,7 +56,7 @@
                                "friendlyName": "Target Temperature",
                                "channel": "targetTemp",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [
                                        {
index 75bf4b0022df998e1468844309b4e66138854367..e4545ca37738a3a80a4c72e2b2b3d8a8cfe0db04 100644 (file)
@@ -12,7 +12,7 @@
                                "friendlyName": "Seat Temperature",
                                "channel": "seat_temp",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [
                                        {
@@ -40,7 +40,7 @@
                                "friendlyName": "Water Temperature",
                                "channel": "water_temp_t",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [
                                        {
@@ -59,7 +59,7 @@
                                "friendlyName": "Fan Temperature",
                                "channel": "fan_temp",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [
                                        {
index 331f4e7bf2fddf918b1d1c0d6a9658bd6b4596a1..d0be58033071990f9b7162e5f9dd4ebd9f0bc25a 100644 (file)
@@ -91,7 +91,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "actions": [],
                                "category": "temperature",
index 750a95d5c68fb2de40bcf8d524fd24a1114861e2..74c4aed5e4efc19439a7145c83653e0b69144fbb 100644 (file)
@@ -30,7 +30,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index a3073c12c091317fc50d67f940732bbd21c968dc..f2f73e769545aded23c1bc38273dd1d3a1383787 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index 2ce35575a5cb4f8b430abdbf808ccd9383ffdddf..92299edb63f50a1c68df36262cc42cc76fd32181 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index c285badc7581478367d1d06a3082fee451a5733d..68e75135cb97465d0be599f0f680c592e3b49bbb 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index 1cf7f504a4dc748bda70b5fe45bf5db9323829b8..0c8fa644a648f26784b7cc614b87537ab23db66c 100644 (file)
                                "friendlyName": "Environment - Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "minimum": -40,
                                        "maximum": 125,
index b46e81fa5d0542369b2f95bc3582ea75fd819c3f..0d6723107e84a9b6d6db4dd318c1f6d0d478c70d 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temp_dec",
                                "type": "Number",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "refresh": true,
                                "transformation": "/10",
                                "ChannelGroup": "Status",
index 4dc9fb14e418d4272a8d5a3a331b4f344a281d85..6468c49ef68388623e8b7db4201d7ff20b0a876d 100644 (file)
@@ -28,7 +28,7 @@
                                "friendlyName": "Target Temperature",
                                "channel": "target_temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index a761d4bacf03707ca038d076d15e3ba3dadf9a46..4e43fbeae537432787c612e15cd386a8b8ebeac3 100644 (file)
@@ -68,7 +68,7 @@
                                "friendlyName": "Heater - Target Temperature",
                                "channel": "target-temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "minimum": 16,
                                        "maximum": 28,
                                "friendlyName": "Environment - Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "minimum": -30,
                                        "maximum": 100,
index f8ac1fa12030811d2d566f8e98ef1dc89722df01..726e8f690322402fc84cfc1f342f07d55dcf3767 100644 (file)
                                "friendlyName": "Environment - Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "minimum": -30,
                                        "maximum": 100,
index ce84de317061260c24cfe1ac0778e0379a9e0db7..43223cf710eea5d5014ea6eab59b5ff57699eaad 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "minimum": -40,
                                        "maximum": 125,
index c52e3ed9a122c16f65a6300a640a911cb2e39d74..c2bf99303e3973cafd32eb14e662a5fcb0086de3 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index 0aa9b347bf135ad6442a38b88660608fe299b583..a21ff474e2c315c04b9a2f759ac19f9bb3d60f7e 100644 (file)
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true
index f307890e28836881e5c985595561dac7e349cba2..411e57613016336c8c72fecf372141ebf20ad40a 100644 (file)
@@ -77,7 +77,7 @@
                                "friendlyName": "Temperature",
                                "channel": "temperature",
                                "type": "Number:Temperature",
-                               "unit": "CELCIUS",
+                               "unit": "CELSIUS",
                                "stateDescription": {
                                        "pattern": "%.1f %unit%",
                                        "readOnly": true