[miio] Channel Updates to Quantitypes (#9196)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
ef31659452
commit
707d840c73
File diff suppressed because it is too large
Load Diff
|
@ -269,9 +269,9 @@
|
||||||
<state readOnly="true"/>
|
<state readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="filterhours">
|
<channel-type id="filterhours">
|
||||||
<item-type>Number</item-type>
|
<item-type>Number:Time</item-type>
|
||||||
<label>Filter Use Time</label>
|
<label>Filter Use Time</label>
|
||||||
<state pattern="%.0f" readOnly="true"/>
|
<state pattern="%.0f %unit%" readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="usedhours">
|
<channel-type id="usedhours">
|
||||||
<item-type>Number:Time</item-type>
|
<item-type>Number:Time</item-type>
|
||||||
|
|
|
@ -60,8 +60,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -60,8 +60,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -25,8 +25,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "",
|
"ChannelGroup": "",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -37,8 +37,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "",
|
"ChannelGroup": "",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -37,8 +37,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "",
|
"ChannelGroup": "",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -82,8 +82,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "",
|
"ChannelGroup": "",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -44,8 +44,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"actions": []
|
"actions": []
|
||||||
},
|
},
|
||||||
|
|
|
@ -119,7 +119,8 @@
|
||||||
"friendlyName": "Filter Hours used",
|
"friendlyName": "Filter Hours used",
|
||||||
"channel": "filterhours",
|
"channel": "filterhours",
|
||||||
"channelType": "filterhours",
|
"channelType": "filterhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -130,7 +131,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -174,8 +176,9 @@
|
||||||
"property": "temp_dec",
|
"property": "temp_dec",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "/10",
|
"transformation": "/10",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -108,7 +108,8 @@
|
||||||
"friendlyName": "Filter Hours used",
|
"friendlyName": "Filter Hours used",
|
||||||
"channel": "filterhours",
|
"channel": "filterhours",
|
||||||
"channelType": "filterhours",
|
"channelType": "filterhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -119,7 +120,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -163,8 +165,9 @@
|
||||||
"property": "temp_dec",
|
"property": "temp_dec",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "/10",
|
"transformation": "/10",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -111,7 +111,8 @@
|
||||||
"friendlyName": "Filter Hours used",
|
"friendlyName": "Filter Hours used",
|
||||||
"channel": "filterhours",
|
"channel": "filterhours",
|
||||||
"channelType": "filterhours",
|
"channelType": "filterhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -164,8 +165,9 @@
|
||||||
"property": "temp_dec",
|
"property": "temp_dec",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "/10",
|
"transformation": "/10",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -38,7 +38,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -38,7 +38,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -24,8 +24,9 @@
|
||||||
"property": "target_temperature",
|
"property": "target_temperature",
|
||||||
"friendlyName": "Target Temperature",
|
"friendlyName": "Target Temperature",
|
||||||
"channel": "target_temperature",
|
"channel": "target_temperature",
|
||||||
"type": "Number:Temperature",
|
|
||||||
"channelType": "temperatureC",
|
"channelType": "temperatureC",
|
||||||
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
|
@ -102,6 +103,7 @@
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperatureC",
|
"channelType": "temperatureC",
|
||||||
|
"unit": "CELCIUS",
|
||||||
"type": "Number:Temperature",
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"actions": []
|
"actions": []
|
||||||
|
@ -111,7 +113,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -151,10 +151,10 @@
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number:Time",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
"unit": "hours",
|
|
||||||
"actions": []
|
"actions": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -202,6 +202,7 @@
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperatureC",
|
"channelType": "temperatureC",
|
||||||
|
"unit": "CELCIUS",
|
||||||
"type": "Number:Temperature",
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -117,7 +117,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -137,8 +138,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
"actions": []
|
"actions": []
|
||||||
|
|
|
@ -138,7 +138,8 @@
|
||||||
"friendlyName": "Run Time",
|
"friendlyName": "Run Time",
|
||||||
"channel": "usedhours",
|
"channel": "usedhours",
|
||||||
"channelType": "usedhours",
|
"channelType": "usedhours",
|
||||||
"type": "Number",
|
"type": "Number:Time",
|
||||||
|
"unit": "hours",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "SecondsToHours",
|
"transformation": "SecondsToHours",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
@ -158,8 +159,9 @@
|
||||||
"property": "temp_dec",
|
"property": "temp_dec",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"transformation": "/10",
|
"transformation": "/10",
|
||||||
"ChannelGroup": "Status",
|
"ChannelGroup": "Status",
|
||||||
|
|
|
@ -72,8 +72,9 @@
|
||||||
"property": "temperature",
|
"property": "temperature",
|
||||||
"friendlyName": "Temperature",
|
"friendlyName": "Temperature",
|
||||||
"channel": "temperature",
|
"channel": "temperature",
|
||||||
"channelType": "temperature",
|
"channelType": "temperatureC",
|
||||||
"type": "Number",
|
"unit": "CELCIUS",
|
||||||
|
"type": "Number:Temperature",
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
"actions": []
|
"actions": []
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue