mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 23:22:02 +01:00
[miio] Fix zhimi.airpurifier.vb2 channel unit (#11722)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
95a2b333dd
commit
b1bdcf7686
@ -5043,7 +5043,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
|
|||||||
| buttom_door | String | Others - Buttom Door | |
|
| buttom_door | String | Others - Buttom Door | |
|
||||||
| reboot_cause | Number | Others - Reboot_cause | Value mapping `["0"="REASON_HW_BOOT","1"="REASON_USER_REBOOT","2"="REASON_UPDATE","3"="REASON_WDT"]` |
|
| reboot_cause | Number | Others - Reboot_cause | Value mapping `["0"="REASON_HW_BOOT","1"="REASON_USER_REBOOT","2"="REASON_UPDATE","3"="REASON_WDT"]` |
|
||||||
| manual_level | Number | Others - Manual Level | Value mapping `["1"="level1","2"="level2","3"="level3"]` |
|
| manual_level | Number | Others - Manual Level | Value mapping `["1"="level1","2"="level2","3"="level3"]` |
|
||||||
| powertime | Number:duration | Others - Powertime | |
|
| powertime | Number:Time | Others - Powertime | |
|
||||||
| country_code | Number | Others - Country Code | Value mapping `["91"="India","44"="UK","852"="Hong Kong","886"="Taiwan","82"="Korea"]` |
|
| country_code | Number | Others - Country Code | Value mapping `["91"="India","44"="UK","852"="Hong Kong","886"="Taiwan","82"="Korea"]` |
|
||||||
|
|
||||||
### Smartmi Air Purifier (<a name="zhimi-airpurifier-za1">zhimi.airpurifier.za1</a>) Channels
|
### Smartmi Air Purifier (<a name="zhimi-airpurifier-za1">zhimi.airpurifier.za1</a>) Channels
|
||||||
@ -10759,7 +10759,7 @@ String cola "Others - Cola" (G_airpurifier) {channel="miio:basic:airpurifier:col
|
|||||||
String buttom_door "Others - Buttom Door" (G_airpurifier) {channel="miio:basic:airpurifier:buttom_door"}
|
String buttom_door "Others - Buttom Door" (G_airpurifier) {channel="miio:basic:airpurifier:buttom_door"}
|
||||||
Number reboot_cause "Others - Reboot_cause" (G_airpurifier) {channel="miio:basic:airpurifier:reboot_cause"}
|
Number reboot_cause "Others - Reboot_cause" (G_airpurifier) {channel="miio:basic:airpurifier:reboot_cause"}
|
||||||
Number manual_level "Others - Manual Level" (G_airpurifier) {channel="miio:basic:airpurifier:manual_level"}
|
Number manual_level "Others - Manual Level" (G_airpurifier) {channel="miio:basic:airpurifier:manual_level"}
|
||||||
Number:duration powertime "Others - Powertime" (G_airpurifier) {channel="miio:basic:airpurifier:powertime"}
|
Number:Time powertime "Others - Powertime" (G_airpurifier) {channel="miio:basic:airpurifier:powertime"}
|
||||||
Number country_code "Others - Country Code" (G_airpurifier) {channel="miio:basic:airpurifier:country_code"}
|
Number country_code "Others - Country Code" (G_airpurifier) {channel="miio:basic:airpurifier:country_code"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1041,13 +1041,13 @@
|
|||||||
"piid": 8,
|
"piid": 8,
|
||||||
"friendlyName": "Others - Powertime",
|
"friendlyName": "Others - Powertime",
|
||||||
"channel": "powertime",
|
"channel": "powertime",
|
||||||
"type": "Number:duration",
|
"type": "Number:Time",
|
||||||
"unit": "seconds",
|
"unit": "seconds",
|
||||||
"stateDescription": {
|
"stateDescription": {
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 2147483647,
|
"maximum": 2147483647,
|
||||||
"step": 1,
|
"step": 1,
|
||||||
"pattern": "%.0f",
|
"pattern": "%.0f %unit%",
|
||||||
"readOnly": true
|
"readOnly": true
|
||||||
},
|
},
|
||||||
"refresh": true,
|
"refresh": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user