[miio] fix readme mapping string (#9409)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-12-17 14:07:54 -08:00
committed by GitHub
parent e7734449bc
commit a7009101ba
10 changed files with 74 additions and 74 deletions

View File

@@ -167,7 +167,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"1\"\u003d\"Not Charging\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Go Charging\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"2\"\u003d\"Not Charging\",\"4\"\u003d\"Charging\",\"5\"\u003d\"Go Charging\"]"
},
{
"property": "fault",
@@ -187,7 +187,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"No faults\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"No faults\"]"
},
{
"property": "status",
@@ -227,7 +227,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Idle\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Go Charging\",\"1\"\u003d\"Charging\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]"
},
{
"property": "brush-left-time",
@@ -395,7 +395,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"quiet\",\"1\"\u003d\"standard\",\"1\"\u003d\"medium\",\"1\"\u003d\"strong\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"quiet\",\"1\"\u003d\"standard\",\"2\"\u003d\"medium\",\"3\"\u003d\"strong\"]"
},
{
"property": "total-clean-time",
@@ -491,7 +491,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"in progress\",\"1\"\u003d\"done\"]"
},
{
"property": "life-sieve",

View File

@@ -44,7 +44,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Idle\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Go Charging\",\"1\"\u003d\"Charging\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]"
},
{
"property": "fault",
@@ -64,7 +64,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"No Faults\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"No Faults\"]"
},
{
"property": "battery-level",
@@ -107,7 +107,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"1\"\u003d\"Not Charging\",\"1\"\u003d\"Go Charging\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"2\"\u003d\"Not Charging\",\"5\"\u003d\"Go Charging\"]"
},
{
"property": "brush-left-time",
@@ -277,7 +277,7 @@
"parameterType": "STRING"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\",\"1\"\u003d\"\",\"1\"\u003d\"\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"mode 0\",\"1\"\u003d\"mode 1\",\"2\"\u003d\"mode 2\",\"3\"\u003d\"mode 3\"]"
},
{
"property": "mop-mode",
@@ -309,7 +309,7 @@
"parameterType": "STRING"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"low\",\"1\"\u003d\"medium\",\"1\"\u003d\"high\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"low water\",\"2\"\u003d\"medium water\",\"3\"\u003d\"high water\"]"
},
{
"property": "waterbox-status",
@@ -333,7 +333,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Status 0\",\"1\"\u003d\"Status 1\"]"
},
{
"property": "task-status",
@@ -357,7 +357,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Status 0\",\"1\"\u003d\"Status 1\"]"
},
{
"property": "break-point-restart",
@@ -385,7 +385,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]"
},
{
"property": "carpet-press",
@@ -413,7 +413,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]"
},
{
"property": "enable",
@@ -621,7 +621,7 @@
"parameterType": "STRING"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\",-\"1\"\u003d\"Not Enabled\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\",\"-1\"\u003d\"Not Enabled\"]"
}
],
"readmeComment": "Identified manual actions for execution\u003cbr /\u003e`action{\"did\":\"vacuum-start-sweep\",\"siid\":2,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"vacuum-stop-sweeping\",\"siid\":2,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"battery-start-charge\",\"siid\":3,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"brush-cleaner-reset-brush-life\",\"siid\":9,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"brush-cleaner-reset-brush-life\",\"siid\":10,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"filter-reset-filter-life\",\"siid\":11,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"vacuum-extend-start-clean\",\"siid\":4,\"aiid\":1,\"in\":[10.0]}`\u003cbr /\u003e`action{\"did\":\"vacuum-extend-stop-clean\",\"siid\":4,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"map-map-req\",\"siid\":6,\"aiid\":1,\"in\":[2.0]}`\u003cbr /\u003e`action{\"did\":\"map-update-map\",\"siid\":6,\"aiid\":2,\"in\":[4.0]}`\u003cbr /\u003e`action{\"did\":\"audio-position\",\"siid\":7,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"audio-play-sound\",\"siid\":7,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"time-delete-timer\",\"siid\":8,\"aiid\":1,\"in\":[3.0]}`\u003cbr /\u003ePlease test and feedback if they are working to they can be linked to a channel.",

View File

@@ -156,7 +156,7 @@
}
],
"category": "fan",
"readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"1\"\u003d\"Natural Wind\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"2\"\u003d\"Natural Wind\"]"
}
],
"experimental": true

View File

@@ -140,7 +140,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Basic\",\"1\"\u003d\"Natural Wind\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Basic\",\"1\"\u003d\"Natural Wind\"]"
},
{
"property": "time-off",
@@ -256,7 +256,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Postitive\",\"1\"\u003d\"Reverse\"]"
},
{
"property": "pre-custom",
@@ -284,7 +284,7 @@
"parameterType": "STRING"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Switch Off\",\"1\"\u003d\"Open\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Switch Off\",\"1\"\u003d\"Open\"]"
},
{
"property": "flabellum",

View File

@@ -115,7 +115,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"No Faults\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"No Faults\"]"
},
{
"property": "heat-level",

View File

@@ -25,7 +25,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"No faults\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"No faults\"]"
},
{
"property": "current-position",
@@ -65,7 +65,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"1\"\u003d\"Closing\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"2\"\u003d\"Closing\"]"
},
{
"property": "target-position",
@@ -110,7 +110,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]"
},
{
"property": "polarity",
@@ -139,7 +139,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]"
},
{
"property": "pos-limit",
@@ -168,7 +168,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Unlimit\",\"1\"\u003d\"Limit\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Unlimit\",\"1\"\u003d\"Limit\"]"
},
{
"property": "en-night-tip-light",
@@ -197,7 +197,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]"
},
{
"property": "run-time",

View File

@@ -118,7 +118,7 @@
"tags": [
"Status"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Idle\",\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Go Charging\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Idle\",\"2\"\u003d\"Sweeping\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Charging\",\"6\"\u003d\"Go Charging\"]"
},
{
"property": "fault",
@@ -190,7 +190,7 @@
"tags": [
"Status"
],
"readmeComment": "Value mapping [\"1\"\u003d\"No Faults\",\"1\"\u003d\"Left-wheel-error\",\"1\"\u003d\"Right-whelel-error\",\"1\"\u003d\"Cliff-error\",\"1\"\u003d\"Low-battery-error\",\"1\"\u003d\"Bump-error\",\"1\"\u003d\"Main-brush-error\",\"1\"\u003d\"Side-brush-error\",\"1\"\u003d\"Fan-motor-error\",\"1\"\u003d\"Dustbin-error\",\"1\"\u003d\"Charging-error\",\"1\"\u003d\"No-wate-error\",\"1\"\u003d\"Pick-up-error\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"No Faults\",\"1\"\u003d\"Left-wheel-error\",\"2\"\u003d\"Right-wheel-error\",\"3\"\u003d\"Cliff-error\",\"4\"\u003d\"Low-battery-error\",\"5\"\u003d\"Bump-error\",\"6\"\u003d\"Main-brush-error\",\"7\"\u003d\"Side-brush-error\",\"8\"\u003d\"Fan-motor-error\",\"9\"\u003d\"Dustbin-error\",\"10\"\u003d\"Charging-error\",\"11\"\u003d\"No-wate-error\",\"12\"\u003d\"Pick-up-error\"]"
},
{
"property": "mode",
@@ -226,7 +226,7 @@
"tags": [
"Control"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Auto-clean\",\"1\"\u003d\"Spot-clean\",\"1\"\u003d\"Wallflow-clean\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Auto-clean\",\"2\"\u003d\"Spot-clean\",\"3\"\u003d\"Wallflow-clean\"]"
},
{
"property": "target-water-level",
@@ -263,7 +263,7 @@
"tags": [
"Setpoint"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"1\"\u003d\"Level2\",\"1\"\u003d\"Level3\"]"
"readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\"]"
},
{
"property": "fan-level",
@@ -303,7 +303,7 @@
"tags": [
"Setpoint"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Silence\",\"1\"\u003d\"Stanrd\",\"1\"\u003d\"Middle\",\"1\"\u003d\"Enchance\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Silence\",\"1\"\u003d\"Stanrd\",\"2\"\u003d\"Middle\",\"3\"\u003d\"Enchance\"]"
},
{
"property": "battery-level",
@@ -346,7 +346,7 @@
"tags": [
"Status"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Not-charging\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Charging-competely\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Not-charging\",\"1\"\u003d\"Charging\",\"2\"\u003d\"Charging-competely\"]"
},
{
"property": "alarm",
@@ -584,7 +584,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"English\",\"1\"\u003d\"简体中文\",\"1\"\u003d\"Español\",\"1\"\u003d\"Русский\",\"1\"\u003d\"Italiano\",\"1\"\u003d\"Français\",\"1\"\u003d\"Deutsch\",\"1\"\u003d\"한국어\",\"1\"\u003d\"Polski\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"English\",\"1\"\u003d\"简体中文\",\"2\"\u003d\"Español\",\"3\"\u003d\"Русский\",\"4\"\u003d\"Italiano\",\"5\"\u003d\"Français\",\"6\"\u003d\"Deutsch\",\"7\"\u003d\"한국어\",\"8\"\u003d\"Polski\"]"
},
{
"property": "not-disturb-switch",
@@ -625,7 +625,7 @@
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"1\"\u003d\"MopUninstall\",\"1\"\u003d\"MopInstall\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Mop Uninstall\",\"1\"\u003d\"Mop Install\"]"
}
],
"readmeComment": "This device may be overwhelmed if refresh is too frequent, slowing down the responses. Suggest to increase refresh time to 120 seconds"

View File

@@ -53,7 +53,7 @@
"tags": [
"Switch"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]"
},
{
"property": "mode1",
@@ -126,7 +126,7 @@
"tags": [
"Switch"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]"
},
{
"property": "mode3",

View File

@@ -220,7 +220,7 @@
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Unknown\",\"1\"\u003d\"US\",\"1\"\u003d\"KR\",\"1\"\u003d\"EU\",\"1\"\u003d\"JP\",\"1\"\u003d\"RU\",\"1\"\u003d\"CN\",\"1\"\u003d\"HK\",\"1\"\u003d\"TW\",\"1\"\u003d\"FR\"]"
"readmeComment": "Value mapping [\"0\"\u003d\"Unknown\",\"1\"\u003d\"US\",\"82\"\u003d\"KR\",\"44\"\u003d\"EU\",\"81\"\u003d\"JP\",\"7\"\u003d\"RU\",\"86\"\u003d\"CN\",\"852\"\u003d\"HK\",\"886\"\u003d\"TW\",\"33\"\u003d\"FR\"]"
}
],
"experimental": true