[miio] add & improve dreame vacuums p2036.p2041o,p2056o,p2057 (#10254)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -58,6 +58,10 @@ public enum MiIoDevices {
|
||||
DREAME_VACUUM_MC1808("dreame.vacuum.mc1808", "Mi Robot Vacuum Mop 1C STYTJ01ZHM", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2008("dreame.vacuum.p2008", "Dreame Robot Vacuum-Mop F9", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2009("dreame.vacuum.p2009", "Dreame Robot Vacuum D9 ", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2036("dreame.vacuum.p2036", "Trouver Robot LDS Vacuum-Mop Finder", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2041O("dreame.vacuum.p2041o", "Mi Robot Vacuum-Mop 2 Pro+", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2156O("dreame.vacuum.p2156o", "MOVA Z500 Robot Vacuum and Mop Cleaner", THING_TYPE_BASIC),
|
||||
DREAME_VACUUM_P2157("dreame.vacuum.p2157", "MOVA L600 Robot Vacuum and Mop Cleaner", THING_TYPE_BASIC),
|
||||
HUAYI_LIGHT_ARI013("huayi.light.ari013", "HUIZUO ARIES For Bedroom", THING_TYPE_BASIC),
|
||||
HUAYI_LIGHT_ARIES("huayi.light.aries", "HUIZUO ARIES For Living Room", THING_TYPE_BASIC),
|
||||
HUAYI_LIGHT_FANWY("huayi.light.fanwy", "HUIZUO Fan Light", THING_TYPE_BASIC),
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"deviceMapping": {
|
||||
"id": [
|
||||
"dreame.vacuum.p2009"
|
||||
"dreame.vacuum.p2009",
|
||||
"dreame.vacuum.p2036",
|
||||
"dreame.vacuum.p2157"
|
||||
],
|
||||
"propertyMethod": "get_properties",
|
||||
"maxProperties": 1,
|
||||
@@ -12,7 +14,6 @@
|
||||
"channel": "vacuumaction",
|
||||
"type": "String",
|
||||
"stateDescription": {
|
||||
"readOnly": true,
|
||||
"options": [
|
||||
{
|
||||
"value": "sweep",
|
||||
@@ -374,7 +375,7 @@
|
||||
"minimum": 0,
|
||||
"maximum": 50,
|
||||
"step": 1,
|
||||
"pattern": "%.1f",
|
||||
"pattern": "%.0f",
|
||||
"readOnly": true
|
||||
},
|
||||
"refresh": true,
|
||||
@@ -516,14 +517,33 @@
|
||||
"channel": "task-status",
|
||||
"type": "Number",
|
||||
"stateDescription": {
|
||||
"minimum": 0,
|
||||
"maximum": 20,
|
||||
"step": 1,
|
||||
"pattern": "%.1f",
|
||||
"readOnly": true
|
||||
"readOnly": true,
|
||||
"options": [
|
||||
{
|
||||
"value": "0",
|
||||
"label": "Notask"
|
||||
},
|
||||
{
|
||||
"value": "1",
|
||||
"label": "AutoClean"
|
||||
},
|
||||
{
|
||||
"value": "2",
|
||||
"label": "CustomClean"
|
||||
},
|
||||
{
|
||||
"value": "3",
|
||||
"label": "SelectAreanClean"
|
||||
},
|
||||
{
|
||||
"value": "4",
|
||||
"label": "SpotArea"
|
||||
}
|
||||
]
|
||||
},
|
||||
"refresh": true,
|
||||
"actions": []
|
||||
"actions": [],
|
||||
"readmeComment": "Value mapping [\"0\"\u003d\"Notask\",\"1\"\u003d\"AutoClean\",\"2\"\u003d\"CustomClean\",\"3\"\u003d\"SelectAreanClean\",\"4\"\u003d\"SpotArea\"]"
|
||||
},
|
||||
{
|
||||
"property": "break-point-restart",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user