mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-22 20:37:09 +00:00
feat: add multi-tub support for T0xD9.
This commit is contained in:
@@ -6,7 +6,7 @@ from homeassistant.components.switch import SwitchDeviceClass
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"queries": [{"query_type": "db"}],
|
||||
"calculate": {
|
||||
"get": [
|
||||
{
|
||||
@@ -50,6 +50,12 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"db_location_selection": {
|
||||
"options": {
|
||||
"left": {"db_location_selection": "left"},
|
||||
"right": {"db_location_selection": "right"}
|
||||
}
|
||||
},
|
||||
"db_running_status": {
|
||||
"options": {
|
||||
"off": {"db_power": "off", "db_running_status": "off"},
|
||||
|
||||
Reference in New Issue
Block a user