Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[miio] update json files to new definition #9239

Merged
merged 1 commit into from
Dec 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bundles/org.openhab.binding.miio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1386,8 +1386,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
| brush-left-time | Number | Brush Cleaner - Brush Left Time | |
| brush-life-level1 | Number | Brush Cleaner - Brush Life Level | |
| brush-left-time1 | Number | Brush Cleaner - Brush Left Time | |
| clean-area | Number | Clean Record - Clean Area | |
| clean-time | Number | Clean Record - Clean Time | |
| clean-area | Number:Area | Clean Record - Clean Area | |
| clean-time | Number:Time | Clean Record - Clean Time | |
| total-clean-area | Number | Clean Record - Total Clean Area | |
| total-clean-time | Number | Clean Record - Total Clean Time | |
| total-clean-count | Number | Clean Record - Total Clean Count | |
Expand Down Expand Up @@ -4446,8 +4446,8 @@ Number brush-life-level "Brush Cleaner - Brush Life Level" (G_vacuum) {channel="
Number brush-left-time "Brush Cleaner - Brush Left Time" (G_vacuum) {channel="miio:basic:vacuum:brush-left-time"}
Number brush-life-level1 "Brush Cleaner - Brush Life Level" (G_vacuum) {channel="miio:basic:vacuum:brush-life-level1"}
Number brush-left-time1 "Brush Cleaner - Brush Left Time" (G_vacuum) {channel="miio:basic:vacuum:brush-left-time1"}
Number clean-area "Clean Record - Clean Area" (G_vacuum) {channel="miio:basic:vacuum:clean-area"}
Number clean-time "Clean Record - Clean Time" (G_vacuum) {channel="miio:basic:vacuum:clean-time"}
Number:Area clean-area "Clean Record - Clean Area" (G_vacuum) {channel="miio:basic:vacuum:clean-area"}
Number:Time clean-time "Clean Record - Clean Time" (G_vacuum) {channel="miio:basic:vacuum:clean-time"}
Number total-clean-area "Clean Record - Total Clean Area" (G_vacuum) {channel="miio:basic:vacuum:total-clean-area"}
Number total-clean-time "Clean Record - Total Clean Time" (G_vacuum) {channel="miio:basic:vacuum:total-clean-time"}
Number total-clean-count "Clean Record - Total Clean Count" (G_vacuum) {channel="miio:basic:vacuum:total-clean-count"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
},
{
"property": "wifi_led",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
},
{
"property": "wifi_led",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"unit": "CELCIUS",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"ChannelGroup": "",
"actions": []
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
},
{
"property": "wifi_led",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@
"channel": "fault",
"channelType": "LumiCurtainHagl05_fault",
"type": "Number",
"stateDescription": {
"readOnly": true,
"options": [
{
"value": "0",
"label": "No faults"
}
]
},
"refresh": true,
"actions": [],
"value-list": [
{
"value": 0,
"description": "No faults"
}
],
"readmeComment": "Value mapping [0\u003d\"No faults\"]"
},
{
Expand All @@ -43,22 +46,25 @@
"channel": "status",
"channelType": "LumiCurtainHagl05_status",
"type": "Number",
"stateDescription": {
"readOnly": true,
"options": [
{
"value": "0",
"label": "Stopped"
},
{
"value": "1",
"label": "Opening"
},
{
"value": "2",
"label": "Closing"
}
]
},
"refresh": true,
"actions": [],
"value-list": [
{
"value": 0,
"description": "Stopped"
},
{
"value": 1,
"description": "Opening"
},
{
"value": 2,
"description": "Closing"
}
],
"readmeComment": "Value mapping [0\u003d\"Stopped\",1\u003d\"Opening\",2\u003d\"Closing\"]"
},
{
Expand All @@ -85,23 +91,25 @@
"channel": "manual-enabled",
"channelType": "LumiCurtainHagl05_manual-enabled",
"type": "Number",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Disable"
},
{
"value": "1",
"label": "Enable"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
],
"value-list": [
{
"value": 0,
"description": "Disable"
},
{
"value": 1,
"description": "Enable"
}
],
"readmeComment": "Value mapping [0\u003d\"Disable\",1\u003d\"Enable\"]"
},
{
Expand All @@ -112,23 +120,25 @@
"channel": "polarity",
"channelType": "LumiCurtainHagl05_polarity",
"type": "Number",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Positive"
},
{
"value": "1",
"label": "Reverse"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
],
"value-list": [
{
"value": 0,
"description": "Positive"
},
{
"value": 1,
"description": "Reverse"
}
],
"readmeComment": "Value mapping [0\u003d\"Positive\",1\u003d\"Reverse\"]"
},
{
Expand All @@ -139,23 +149,25 @@
"channel": "pos-limit",
"channelType": "LumiCurtainHagl05_pos-limit",
"type": "Number",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Unlimit"
},
{
"value": "1",
"label": "Limit"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
],
"value-list": [
{
"value": 0,
"description": "Unlimit"
},
{
"value": 1,
"description": "Limit"
}
],
"readmeComment": "Value mapping [0\u003d\"Unlimit\",1\u003d\"Limit\"]"
},
{
Expand All @@ -166,23 +178,25 @@
"channel": "en-night-tip-light",
"channelType": "LumiCurtainHagl05_en-night-tip-light",
"type": "Switch",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Disable"
},
{
"value": "1",
"label": "Enable"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
],
"value-list": [
{
"value": 0,
"description": "Disable"
},
{
"value": 1,
"description": "Enable"
}
],
"readmeComment": "Value mapping [0\u003d\"Disable\",1\u003d\"Enable\"]"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"property": "",
"friendlyName": "Enable Telnet",
"channel": "telnetEnable",
"readmeComment": "Access the device with telnet to further unlock developer mode. See forum",
"type": "Switch",
"refresh": false,
"actions": [
{
"command": "enable_telnet_service",
"parameterType": "EMPTY"
}
]
],
"readmeComment": "Access the device with telnet to further unlock developer mode. See forum"
},
{
"property": "doorbell_volume",
Expand Down
Loading