<!-- READ THIS FIRST:
- For a new device, first check if you can find a simil…ar device in the https://github.com/rospogrigio/localtuya/wiki/Known-working-and-non-working-devices
- Try to update to latest master version, your problem may be already fixed.
- Do not report issues for already existing problems. Check that an issue is not already opened and enrich it.
- Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
-->
## The problem
<!--
Describe the issue you are experiencing here to communicate to the
maintainers. Tell us what you were trying to do and what happened.
-->
Airton AC has some missing data points to finish integration, on/off and temperature change works OK, but I would like at least to be able to change Operation Mode from the UI to Heating/Cooling/Ventilation/Dehumidification. Changing Fan speed or enabling Swing could be a bonus.
HVAC Mode DP (optional) => Set tp DP 4, but always says Auto !
HVAC Mode Set (optional) => Don't know what to put in here but I'm expecting a list for auto, cold, wet, heat, fan
HVAC Current Action DP (optional) => Don't know what to put in here
## Environment
<!--
Provide details about your environment.
-->
- Localtuya version: 4.1.1
- Last working localtuya version (if known and relevant):
- Home Assistant Core version: 2022.11.1
- [] Are you using the Home Assistant Tuya Cloud component ? no
- [] Are you using the Tuya App in parallel ? yes
## Steps to reproduce
<!--
Clearly define how to reproduce the issue.
-->
1.
2.
3.
## Configuration `configuration.yaml` or `config_flow`
<!--
Fill this with the yaml or config_flow configuration of the failing device. Even if it seems unimportant to you.
Remove personal information and local key.
-->
```yaml
```
## DP dump
<!--
Paste here a DP dump, see https://github.com/rospogrigio/localtuya/wiki/HOWTO-get-a-DPs-dump
You can also try to qualify your device using the procedure described https://github.com/rospogrigio/localtuya/wiki/Qualifying-a-device
-->
```
DPS [1] VALUE [True]
DPS [2] VALUE [240]
DPS [3] VALUE [250]
DPS [4] VALUE [heat]
DPS [5] VALUE [mute]
DPS [8] VALUE [False]
DPS [9] VALUE [False]
DPS [12] VALUE [True]
DPS [13] VALUE [True]
DPS [15] VALUE [off]
DPS [20] VALUE [0]
DPS [22] VALUE [0]
DPS [101] VALUE [0]
DPS [102] VALUE [78]
DPS [103] VALUE [1]
DPS [105] VALUE [c]
DPS [106] VALUE [off]
DPS [107] VALUE [off]
DPS [108] VALUE [False]
DPS [109] VALUE [False]
DPS [110] VALUE [True]
DPS [111] VALUE [False]
DPS [112] VALUE [cold]
DPS [113] VALUE [0]
DPS [114] VALUE [heat]
DPS [115] VALUE [False]
```
## Provide Home Assistant taceback/logs
<!--
Provide traces if they are relevant. If the problem is reproducible, try to set the log level to debug for this component at least:
In Dev Tools => Services:
logger.set_level
custom_components.localtuya: debug
-->
```txt
```
## Additional information
API call for "Get Device Specification Attribute"
```
{
"result": {
"category": "kt",
"functions": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "eco",
"dp_id": 8,
"type": "Boolean",
"values": "{}"
},
{
"code": "drying",
"dp_id": 9,
"type": "Boolean",
"values": "{}"
},
{
"code": "cleaning",
"dp_id": 111,
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_unit_convert",
"dp_id": 105,
"type": "Enum",
"values": "{\"range\":[\"c\",\"f\"]}"
},
{
"code": "temp_set",
"dp_id": 2,
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":160,\"max\":880,\"scale\":1,\"step\":10}"
},
{
"code": "mode",
"dp_id": 4,
"type": "Enum",
"values": "{\"range\":[\"auto\",\"cold\",\"wet\",\"heat\",\"fan\"]}"
},
{
"code": "heat",
"dp_id": 12,
"type": "Boolean",
"values": "{}"
},
{
"code": "light",
"dp_id": 13,
"type": "Boolean",
"values": "{}"
},
{
"code": "sleep",
"dp_id": 109,
"type": "Boolean",
"values": "{}"
},
{
"code": "health",
"dp_id": 110,
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed_enum",
"dp_id": 5,
"type": "Enum",
"values": "{\"range\":[\"auto\",\"low\",\"low_mid\",\"mid\",\"mid_high\",\"high\",\"mute\",\"turbo\"]}"
}
],
"status": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed_enum",
"dp_id": 5,
"type": "Enum",
"values": "{\"range\":[\"auto\",\"low\",\"low_mid\",\"mid\",\"mid_high\",\"high\",\"mute\",\"turbo\"]}"
},
{
"code": "eco",
"dp_id": 8,
"type": "Boolean",
"values": "{}"
},
{
"code": "drying",
"dp_id": 9,
"type": "Boolean",
"values": "{}"
},
{
"code": "cleaning",
"dp_id": 111,
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_unit_convert",
"dp_id": 105,
"type": "Enum",
"values": "{\"range\":[\"c\",\"f\"]}"
},
{
"code": "temp_set",
"dp_id": 2,
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":160,\"max\":880,\"scale\":1,\"step\":10}"
},
{
"code": "temp_current",
"dp_id": 3,
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":0,\"max\":600,\"scale\":1,\"step\":1}"
},
{
"code": "mode",
"dp_id": 4,
"type": "Enum",
"values": "{\"range\":[\"auto\",\"cold\",\"wet\",\"heat\",\"fan\"]}"
},
{
"code": "heat",
"dp_id": 12,
"type": "Boolean",
"values": "{}"
},
{
"code": "light",
"dp_id": 13,
"type": "Boolean",
"values": "{}"
},
{
"code": "countdown_left",
"dp_id": 22,
"type": "Integer",
"values": "{\"unit\":\"分钟\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
},
{
"code": "sleep",
"dp_id": 109,
"type": "Boolean",
"values": "{}"
},
{
"code": "health",
"dp_id": 110,
"type": "Boolean",
"values": "{}"
}
]
},
"success": true,
"t": 1667830527939,
"tid": "a11e9daf5ea611ed8c069ee482573564"
}
```