make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.09k stars 440 forks source link

inventor_atmosphere xl_dehumidifier mod enhancement #385

Closed samios88 closed 1 year ago

samios88 commented 1 year ago

hello again. I have an inventor_atmosphere xl_dehumidifier i was able to modify the existing yaml file in order to have a seperate power button and an Oscillate button named swing in order to have the option when in both dehumidifier and air purifier it also makes it easier at least for me for the automations i will post bellow the modified yaml file and the iot cloud dps. One thing i found when is that in the fan entity when i put the slider in the middle it stops. Is it possible to put presets instead such us high medium low? Thank you in advance please let me know if i can help

samios88 commented 1 year ago

`name: Inventor Atomsphere XL dehumidifier primary_entity: entity: humidifier class: dehumidifier dps:

samios88 commented 1 year ago

{ "result": [ { "category": "cs", "devices": [ "bfb56d5ee83f535b4fbhv4" ], "functions": [ { "code": "switch", "desc": "switch", "name": "switch", "type": "Boolean", "values": "{}" }, { "code": "dehumidify_set_enum", "desc": "dehumidify set enum", "name": "dehumidify set enum", "type": "Enum", "values": "{\"range\":[\"CO\",\"40\",\"45\",\"50\",\"55\",\"60\",\"65\",\"70\",\"75\",\"80\"]}" }, { "code": "fan_speed_enum", "desc": "fan speed enum", "name": "fan speed enum", "type": "Enum", "values": "{\"range\":[\"low\",\"high\"]}" }, { "code": "mode", "desc": "mode", "name": "mode", "type": "Enum", "values": "{\"range\":[\"manual\",\"drying\",\"night\",\"auto\"]}" }, { "code": "swing", "desc": "swing", "name": "swing", "type": "Boolean", "values": "{}" }, { "code": "anion", "desc": "anion", "name": "anion", "type": "Boolean", "values": "{}" }, { "code": "uv", "desc": "uv", "name": "uv", "type": "Boolean", "values": "{}" }, { "code": "child_lock", "desc": "child lock", "name": "child lock", "type": "Boolean", "values": "{}" }, { "code": "countdown_set", "desc": "countdown set", "name": "countdown set", "type": "Enum", "values": "{\"range\":[\"1h\",\"2h\",\"3h\",\"4h\",\"5h\",\"6h\",\"7h\",\"8h\",\"9h\",\"None\"]}" }, { "code": "Air_purify_mode", "desc": "Air purify mode", "name": "Air purify mode", "type": "Enum", "values": "{\"range\":[\"manual\",\"night\",\"auto\"]}" }, { "code": "Air_purify_switch", "desc": "Air purify switch", "name": "Air purify switch", "type": "Enum", "values": "{\"range\":[\"dehumi_air\",\"air_purifier\"]}" }, { "code": "Light_level", "desc": "Light level", "name": "Light level", "type": "Enum", "values": "{\"range\":[\"1\",\"2\",\"3\"]}" }, { "code": "Air_purify_fan_speed", "desc": "Air purify fan speed", "name": "Air purify fan speed", "type": "Enum", "values": "{\"range\":[\"low\",\"middle\",\"high\"]}" } ], "product_id": "td5l0upccfhkjwrw" } ], "success": true, "t": 1676065117564, "tid": "47040663a98b11ed9a310aeeb3bc8fba" }

samios88 commented 1 year ago

manual: https://ac.inv-static.com/uploads/dehumidifiers/ATMOSPHERE_XL/Atmosphere_XL_UM_v10_0620.pdf

make-all commented 1 year ago

This device is already supported