mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[miio] fix typo in temperatue unit (#10869)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
8bd05c0f9f
commit
28c513ac3a
@ -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),
|
||||||
|
@ -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": [],
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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
|
||||||
|
@ -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": [],
|
||||||
|
@ -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": [
|
||||||
{
|
{
|
||||||
|
@ -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": [
|
||||||
{
|
{
|
||||||
|
@ -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",
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
|
@ -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",
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user