[miio] Channel Updates to Quantitypes (#9196)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-12-02 09:25:25 -08:00
committed by GitHub
parent ef31659452
commit 707d840c73
20 changed files with 238 additions and 211 deletions

View File

@@ -269,9 +269,9 @@
<state readOnly="true"/>
</channel-type>
<channel-type id="filterhours">
<item-type>Number</item-type>
<item-type>Number:Time</item-type>
<label>Filter Use Time</label>
<state pattern="%.0f" readOnly="true"/>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="usedhours">
<item-type>Number:Time</item-type>

View File

@@ -60,8 +60,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "Status",
"actions": []

View File

@@ -60,8 +60,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "Status",
"actions": []

View File

@@ -25,8 +25,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "",
"actions": []

View File

@@ -37,8 +37,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "",
"actions": []

View File

@@ -37,8 +37,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "",
"actions": []

View File

@@ -82,8 +82,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "",
"actions": []

View File

@@ -44,8 +44,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"actions": []
},

View File

@@ -119,7 +119,8 @@
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -130,7 +131,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -174,8 +176,9 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@@ -108,7 +108,8 @@
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -119,7 +120,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -163,8 +165,9 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@@ -111,7 +111,8 @@
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -164,8 +165,9 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@@ -38,7 +38,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",

View File

@@ -39,7 +39,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",

View File

@@ -38,7 +38,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",

View File

@@ -24,8 +24,9 @@
"property": "target_temperature",
"friendlyName": "Target Temperature",
"channel": "target_temperature",
"type": "Number:Temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"actions": [
{
@@ -102,6 +103,7 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"actions": []
@@ -111,7 +113,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"actions": []

View File

@@ -151,10 +151,10 @@
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
"unit": "hours",
"actions": []
},
{
@@ -202,6 +202,7 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "Status",

View File

@@ -117,7 +117,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -137,8 +138,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"ChannelGroup": "Status",
"actions": []

View File

@@ -138,7 +138,8 @@
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@@ -158,8 +159,9 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@@ -72,8 +72,9 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"refresh": true,
"actions": []
},