feat: update device control for T0xCC and T0xAC

This commit is contained in:
sususweet
2025-10-01 18:00:18 +08:00
parent a31c905fb5
commit 8cb30ebb3e
15 changed files with 656 additions and 72 deletions

View File

@@ -7,12 +7,46 @@ DEVICE_MAPPING = {
"default": {
"rationale": ["off", "on"],
"queries": [{}, {"query_type":"run_status"}],
"centralized": [
"power", "temperature", "small_temperature", "mode", "eco",
"comfort_power_save", "strong_wind",
"wind_swing_lr", "wind_swing_lr", "wind_speed","ptc", "dry"
],
"centralized": [],
"entities": {
Platform.FAN: {
"fan": {
"power": "power",
"speeds": [
{"wind_speed_real": 20},
{"wind_speed_real": 40},
{"wind_speed_real": 60},
{"wind_speed_real": 80},
{"wind_speed_real": 100},
],
"preset_modes": {
"heat": {
"mode": "heat"
},
"cool": {
"mode": "cool"
},
"auto": {
"mode": "auto"
},
"dry": {
"mode": "dry"
},
"fan": {
"mode": "fan"
},
"standby": {
"mode": "standby"
},
"dryconstant": {
"mode": "dryconstant"
},
"dryauto": {
"mode": "dryauto"
},
}
}
},
Platform.CLIMATE: {
"thermostat": {
"power": "power",