[miio] fix typo in temperatue unit (#10869)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2021-06-16 10:27:04 +02:00 committed by GitHub
parent 8bd05c0f9f
commit 28c513ac3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 28 additions and 28 deletions

View File

@ -36,7 +36,7 @@ import org.openhab.core.library.unit.Units;
@NonNullByDefault @NonNullByDefault
public enum MiIoQuantiyTypes { public enum MiIoQuantiyTypes {
CELCIUS(SIUnits.CELSIUS, "C"), CELSIUS(SIUnits.CELSIUS, "C", "celcius"),
FAHRENHEIT(ImperialUnits.FAHRENHEIT), FAHRENHEIT(ImperialUnits.FAHRENHEIT),
KELVIN(Units.KELVIN, "K"), KELVIN(Units.KELVIN, "K"),
PASCAL(SIUnits.PASCAL), PASCAL(SIUnits.PASCAL),

View File

@ -72,7 +72,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"ChannelGroup": "Status", "ChannelGroup": "Status",
"actions": [], "actions": [],

View File

@ -74,7 +74,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -29,7 +29,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -42,7 +42,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [], "actions": [],
"category": "temperature", "category": "temperature",

View File

@ -45,7 +45,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -134,7 +134,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"ChannelGroup": "Status", "ChannelGroup": "Status",
"actions": [], "actions": [],

View File

@ -37,7 +37,7 @@
"friendlyName": "Water Temperature", "friendlyName": "Water Temperature",
"channel": "waterTemp", "channel": "waterTemp",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [ "actions": [
{ {
@ -56,7 +56,7 @@
"friendlyName": "Target Temperature", "friendlyName": "Target Temperature",
"channel": "targetTemp", "channel": "targetTemp",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [ "actions": [
{ {

View File

@ -12,7 +12,7 @@
"friendlyName": "Seat Temperature", "friendlyName": "Seat Temperature",
"channel": "seat_temp", "channel": "seat_temp",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [ "actions": [
{ {
@ -40,7 +40,7 @@
"friendlyName": "Water Temperature", "friendlyName": "Water Temperature",
"channel": "water_temp_t", "channel": "water_temp_t",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [ "actions": [
{ {
@ -59,7 +59,7 @@
"friendlyName": "Fan Temperature", "friendlyName": "Fan Temperature",
"channel": "fan_temp", "channel": "fan_temp",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [ "actions": [
{ {

View File

@ -91,7 +91,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"actions": [], "actions": [],
"category": "temperature", "category": "temperature",

View File

@ -30,7 +30,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -296,7 +296,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -191,7 +191,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -190,7 +190,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -232,7 +232,7 @@
"friendlyName": "Environment - Temperature", "friendlyName": "Environment - Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"minimum": -40, "minimum": -40,
"maximum": 125, "maximum": 125,

View File

@ -174,7 +174,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temp_dec", "channel": "temp_dec",
"type": "Number", "type": "Number",
"unit": "CELCIUS", "unit": "CELSIUS",
"refresh": true, "refresh": true,
"transformation": "/10", "transformation": "/10",
"ChannelGroup": "Status", "ChannelGroup": "Status",

View File

@ -28,7 +28,7 @@
"friendlyName": "Target Temperature", "friendlyName": "Target Temperature",
"channel": "target_temperature", "channel": "target_temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true
@ -121,7 +121,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -68,7 +68,7 @@
"friendlyName": "Heater - Target Temperature", "friendlyName": "Heater - Target Temperature",
"channel": "target-temperature", "channel": "target-temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"minimum": 16, "minimum": 16,
"maximum": 28, "maximum": 28,
@ -155,7 +155,7 @@
"friendlyName": "Environment - Temperature", "friendlyName": "Environment - Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"minimum": -30, "minimum": -30,
"maximum": 100, "maximum": 100,

View File

@ -155,7 +155,7 @@
"friendlyName": "Environment - Temperature", "friendlyName": "Environment - Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"minimum": -30, "minimum": -30,
"maximum": 100, "maximum": 100,

View File

@ -282,7 +282,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"minimum": -40, "minimum": -40,
"maximum": 125, "maximum": 125,

View File

@ -166,7 +166,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -176,7 +176,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true

View File

@ -77,7 +77,7 @@
"friendlyName": "Temperature", "friendlyName": "Temperature",
"channel": "temperature", "channel": "temperature",
"type": "Number:Temperature", "type": "Number:Temperature",
"unit": "CELCIUS", "unit": "CELSIUS",
"stateDescription": { "stateDescription": {
"pattern": "%.1f %unit%", "pattern": "%.1f %unit%",
"readOnly": true "readOnly": true