[miio] add suppport for Mr Bond M1 pro Smart Clothes Dryer (#8749)
Add support for following types "mrbond.airer.m1s", "mrbond.airer.m1pro", "mrbond.airer.m1super" Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -88,6 +88,10 @@ public enum MiIoDevices {
|
||||
HUMIDIFIER("zhimi.humidifier.v1", "Mi Humdifier", THING_TYPE_BASIC),
|
||||
LUMI_C11("lumi.ctrl_neutral1.v1", "Light Control (Wall Switch)", THING_TYPE_UNSUPPORTED),
|
||||
LUMI_C12("lumi.ctrl_neutral2.v1", "Light Control (Wall Switch)", THING_TYPE_UNSUPPORTED),
|
||||
MRBOND_AIRER_M1PRO("mrbond.airer.m1pro", "Mr Bond M1 Pro Smart Clothes Dryer", THING_TYPE_BASIC),
|
||||
MRBOND_AIRER_M1S("mrbond.airer.m1s", "Mr Bond M1 Smart Clothes Dryer", THING_TYPE_BASIC),
|
||||
MRBOND_AIRER_M1SUPER("mrbond.airer.m1super", "Mr Bond M1 Super Smart Clothes Dryer", THING_TYPE_BASIC),
|
||||
PHILIPS_R1("philips.light.sread1", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
|
||||
PHILIPS_SR1("philips.light.sread1", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
|
||||
PHILIPS_SR2("philips.light.sread2", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
|
||||
PHILIPS_C("philips.light.ceiling", "Xiaomi Philips LED Ceiling Lamp", THING_TYPE_BASIC),
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"deviceMapping": {
|
||||
"id": [
|
||||
"mrbond.airer.m1s",
|
||||
"mrbond.airer.m1pro",
|
||||
"mrbond.airer.m1super"
|
||||
],
|
||||
"propertyMethod": "get_prop",
|
||||
"maxProperties": 2,
|
||||
"channels": [
|
||||
{
|
||||
"property": "dry",
|
||||
"friendlyName": "Dry",
|
||||
"channel": "dry",
|
||||
"type": "Switch",
|
||||
"refresh": true,
|
||||
"ChannelGroup": "Status",
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_dry",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "led",
|
||||
"friendlyName": "LED Status",
|
||||
"channel": "led",
|
||||
"type": "Switch",
|
||||
"refresh": true,
|
||||
"ChannelGroup": "actions",
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_lamp",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "motor",
|
||||
"friendlyName": "Motor",
|
||||
"channel": "motor",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_motor",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "drytime",
|
||||
"friendlyName": "Dry Time",
|
||||
"channel": "drytime",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_drytime",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "airer_location",
|
||||
"friendlyName": "Airer Location",
|
||||
"channel": "airer_location",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_airer_location",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "disinfect",
|
||||
"friendlyName": "disinfect",
|
||||
"channel": "disinfect",
|
||||
"type": "Switch",
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_disinfect",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"property": "distime",
|
||||
"friendlyName": "Disinfect Time",
|
||||
"channel": "distime",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_distime",
|
||||
"parameterType": "NUMBER"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"experimental": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user