PlusPlus-ua / ha_tuya_ble

Home Assistant support for Tuya BLE devices
MIT License
147 stars 97 forks source link

[New Device] revolt Radiator thermostat #102

Open Ocean-85 opened 4 months ago

Ocean-85 commented 4 months ago

Hello,

could you please add Radiator Thermostat to tuya ble?

Get Device Details { "result": { "biz_type": 0, "category": "wkf", "icon": "smart/icon/ay1525342462043yjwZs/2d7cbb659fa45503bf9611c15c7e0a3f.png", "model": "Thermometer", "product_id": "kfh5k0ax", "product_name": "ZX-5276", "status": [ { "code": "mode", "value": "manual" }, { "code": "window_check", "value": false }, { "code": "battery_percentage", "value": 100 }, { "code": "temp_set", "value": 140 }, { "code": "temp_current", "value": 129 }, { "code": "holiday_temp_set", "value": 170 }, { "code": "child_lock", "value": false } ]

Standard Instruction Set Code Type Values mode Enum { "range": [ "auto", "manual", "holiday", "holidayready" ] } window_check Boolean "{true,false}" temp_set Integer { "unit": "?", "min": 50, "max": 300, "scale": 1, "step": 5 } holiday_temp_set Integer { "unit": "?", "min": 50, "max": 300, "scale": 1, "step": 5 } child_lock Boolean "{true,false}"

Standard Status Set Code Type Values mode Enum { "range": [ "auto", "manual", "holiday", "holidayready" ] } window_check Boolean "{true,false}" battery_percentage Integer { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } temp_set Integer { "unit": "?", "min": 50, "max": 300, "scale": 1, "step": 5 } temp_current Integer { "unit": "?", "min": -200, "max": 500, "scale": 1, "step": 1 } holiday_temp_set Integer { "unit": "?", "min": 50, "max": 300, "scale": 1, "step": 5 } child_lock Boolean "{true,false}"

Get Device Specification Attribute { "result": { "category": "wkf", "functions": [ { "code": "mode", "dp_id": 2, "type": "Enum", "values": "{\"range\":[\"auto\",\"manual\",\"holiday\",\"holidayready\"]}" }, { "code": "window_check", "dp_id": 8, "type": "Boolean", "values": "{}" }, { "code": "temp_set", "dp_id": 16, "type": "Integer", "values": "{\"unit\":\"?\",\"min\":50,\"max\":300,\"scale\":1,\"step\":5}" }, { "code": "holiday_temp_set", "dp_id": 32, "type": "Integer", "values": "{\"unit\":\"?\",\"min\":50,\"max\":300,\"scale\":1,\"step\":5}" }, { "code": "child_lock", "dp_id": 40, "type": "Boolean", "values": "{}" } ], "lang_config": {}, "status": [ { "code": "mode", "dp_id": 2, "type": "Enum", "values": "{\"range\":[\"auto\",\"manual\",\"holiday\",\"holidayready\"]}" }, { "code": "window_check", "dp_id": 8, "type": "Boolean", "values": "{}" }, { "code": "battery_percentage", "dp_id": 13, "type": "Integer", "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "temp_set", "dp_id": 16, "type": "Integer", "values": "{\"unit\":\"?\",\"min\":50,\"max\":300,\"scale\":1,\"step\":5}" }, { "code": "temp_current", "dp_id": 24, "type": "Integer", "values": "{\"unit\":\"?\",\"min\":-200,\"max\":500,\"scale\":1,\"step\":1}" }, { "code": "holiday_temp_set", "dp_id": 32, "type": "Integer", "values": "{\"unit\":\"?\",\"min\":50,\"max\":300,\"scale\":1,\"step\":5}" }, { "code": "child_lock", "dp_id": 40, "type": "Boolean", "values": "{}" } ]

image

Thank you.

Kind regards