tuya/tuya-home-assistant

MOES Smart Button

Open

#848 opened on Sep 20, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

Description

Device normal info

  • Moes
  • Smart Button

I added a MOES zigbee smart button to myTuya app and it controls and works fine within Tuya. I reloaded the Tuya integration in HA which now includes the smart button device, however, there are no added entities. How do I control the buttons features in HA?

Diagnostics file info: { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.9.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "x86_64", "timezone": "America/Los_Angeles", "os_name": "Linux", "os_version": "5.15.67", "supervisor": "2022.09.1", "host_os": "Home Assistant OS 9.0", "docker_version": "20.10.17", "chassis": "vm", "run_as_root": true }, "custom_components": { "blueiris": { "version": "1.0.13", "requirements": [] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "bhyve": { "version": "3.0.0", "requirements": [] }, "hacs": { "version": "1.27.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "dahua": { "version": "0.5.0", "requirements": [] } }, "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", "@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*" } ], "loggers": [ "tuya_iot" ], "is_built_in": true }, "data": { "endpoint": "https://openapi.tuyaus.com", "auth_type": 0, "country_code": "1", "app_type": "tuyaSmart", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Smart Button", "model": "ERS-10TZBVB-AA", "category": "wxkg", "product_id": "kjfzuycl", "product_name": "Smart Button", "online": true, "sub": true, "time_zone": "-07:00", "active_time": "2022-09-20T01:38:13+00:00", "create_time": "2022-09-20T01:38:13+00:00", "update_time": "2022-09-20T01:38:13+00:00", "function": { "mode": { "type": "Enum", "value": { "range": [ "remote_control", "wireless_switch" ] } }, "scene_preset": { "type": "String", "value": {} } }, "status_range": { "switch_mode1": { "type": "Enum", "value": { "range": [ "click", "double_click", "press" ] } }, "battery_percentage": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "mode": { "type": "Enum", "value": { "range": [ "remote_control", "wireless_switch" ] } }, "scene_preset": { "type": "String", "value": {} } }, "status": { "switch_mode1": "double_click", "battery_percentage": 100, "mode": "wireless_switch", "scene_preset": "800003e80384005a03e803e8810003e8006400b403e803e8820001900320010e03e803e883010190000000f000fa00fa" }, "home_assistant": { "name": "Smart Button", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [] } } }

Contributor guide