diff --git a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoQuantiyTypes.java b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoQuantiyTypes.java index 9b931a91c..65a4f8020 100644 --- a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoQuantiyTypes.java +++ b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoQuantiyTypes.java @@ -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), diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json index 3dffde6d5..a91b75b79 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json @@ -72,7 +72,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "refresh": true, "ChannelGroup": "Status", "actions": [], diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json index 99d2f2d2b..75202f8aa 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json @@ -74,7 +74,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json index a4ac285fa..3e2d57876 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json @@ -29,7 +29,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json index 2f80b97cb..4d110f8e0 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json @@ -42,7 +42,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "refresh": true, "actions": [], "category": "temperature", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json index fbc7759e4..467077756 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json @@ -45,7 +45,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/nwt.derh.wdh318efw1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/nwt.derh.wdh318efw1.json index 1e1cfd0c4..b743b7ed1 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/nwt.derh.wdh318efw1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/nwt.derh.wdh318efw1.json @@ -134,7 +134,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "refresh": true, "ChannelGroup": "Status", "actions": [], diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json index ba863494e..f8759bfdc 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json @@ -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": [ { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json b/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json index 75bf4b002..e4545ca37 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json @@ -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": [ { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json index 331f4e7bf..d0be58033 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json @@ -91,7 +91,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "refresh": true, "actions": [], "category": "temperature", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json index 750a95d5c..74c4aed5e 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json @@ -30,7 +30,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json index a3073c12c..f2f73e769 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json @@ -296,7 +296,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json index 2ce35575a..92299edb6 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json @@ -191,7 +191,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json index c285badc7..68e75135c 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json @@ -190,7 +190,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.vb2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.vb2-miot.json index 1cf7f504a..0c8fa644a 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.vb2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.vb2-miot.json @@ -232,7 +232,7 @@ "friendlyName": "Environment - Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "minimum": -40, "maximum": 125, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json index b46e81fa5..0d6723107 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json @@ -174,7 +174,7 @@ "friendlyName": "Temperature", "channel": "temp_dec", "type": "Number", - "unit": "CELCIUS", + "unit": "CELSIUS", "refresh": true, "transformation": "/10", "ChannelGroup": "Status", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json index 4dc9fb14e..6468c49ef 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json @@ -28,7 +28,7 @@ "friendlyName": "Target Temperature", "channel": "target_temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true @@ -121,7 +121,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json index a761d4bac..4e43fbeae 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json @@ -68,7 +68,7 @@ "friendlyName": "Heater - Target Temperature", "channel": "target-temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "minimum": 16, "maximum": 28, @@ -155,7 +155,7 @@ "friendlyName": "Environment - Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "minimum": -30, "maximum": 100, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json index f8ac1fa12..726e8f690 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json @@ -155,7 +155,7 @@ "friendlyName": "Environment - Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "minimum": -30, "maximum": 100, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json index ce84de317..43223cf71 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json @@ -282,7 +282,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "minimum": -40, "maximum": 125, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json index c52e3ed9a..c2bf99303 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json @@ -166,7 +166,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json index 0aa9b347b..a21ff474e 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json @@ -176,7 +176,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json index f307890e2..411e57613 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json @@ -77,7 +77,7 @@ "friendlyName": "Temperature", "channel": "temperature", "type": "Number:Temperature", - "unit": "CELCIUS", + "unit": "CELSIUS", "stateDescription": { "pattern": "%.1f %unit%", "readOnly": true