I’m new to Home Assistant and have a Tuya Switch with 3 Buttons.
It is recognized by the Tuya add-on. But I can’t configure the buttons. The switch is said as unsupported.
Is it planned to add support? If not, is there a how-to and an API Reference how to contribute?
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.2.7",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.9.7",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "5.10.98",
"supervisor": "2022.01.1",
"host_os": "Home Assistant OS 7.4",
"docker_version": "20.10.9",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"spotcast": {
"version": "v3.6.25",
"requirements": [
"spotify_token==1.0.0"
]
},
"hacs": {
"version": "1.22.0",
"requirements": [
"aiogithubapi>=21.11.0"
]
}
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"documentation": "https://www.home-assistant.io/integrations/tuya",
"requirements": [
"tuya-iot-py-sdk==0.6.6"
],
"dependencies": [
"ffmpeg"
],
"codeowners": [
"@Tuya",
"@zlinoliver",
"@METISU",
"@frenck"
],
"config_flow": true,
"iot_class": "cloud_push",
"dhcp": [
{
"macaddress": "105A17*"
},
{
"macaddress": "10D561*"
},
{
"macaddress": "1869D8*"
},
{
"macaddress": "381F8D*"
},
{
"macaddress": "508A06*"
},
{
"macaddress": "68572D*"
},
{
"macaddress": "708976*"
},
{
"macaddress": "7CF666*"
},
{
"macaddress": "84E342*"
},
{
"macaddress": "D4A651*"
},
{
"macaddress": "D81F12*"
}
],
"is_built_in": true
},
"data": {
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "49",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "3 Gang ZigBee Scene Switch",
"model": "",
"category": "wxkg",
"product_id": "gbm10jnj",
"product_name": "3 Gang ZigBee Scene Switch",
"online": true,
"sub": true,
"time_zone": "+01:00",
"active_time": "2022-02-12T11:17:18+00:00",
"create_time": "2022-02-12T11:17:18+00:00",
"update_time": "2022-02-12T11:17:18+00:00",
"function": {},
"status_range": {
"switch1_value": {
"type": "Enum",
"value": {
"range": [
"single_click",
"double_click",
"long_press"
]
}
},
"switch_mode2": {
"type": "Enum",
"value": {
"range": [
"click",
"double_click",
"press"
]
}
},
"switch_mode3": {
"type": "Enum",
"value": {
"range": [
"click",
"double_click",
"press"
]
}
},
"battery_percentage": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
}
},
"status": {
"switch1_value": "single_click",
"switch_mode2": "click",
"switch_mode3": "click"
},
"home_assistant": {
"name": "3 Gang ZigBee Scene Switch",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": []
}
}
}