tuya/tuya-home-assistant

Unsupported switch

Open

#818 创建于 2022年6月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人) (206 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (960 star)
PR 合并指标
 (PR 指标待抓取)

描述

Device normal info

Device info (please complete the following information, which can be found in log):

{
    "endpoint": "https://openapi.tuyaeu.com",
    "auth_type": 0,
    "country_code": "48",
    "app_type": "tuyaSmart",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "name": "ZigBee Switch-t",
    "model": "zigbee \u65e0\u7ebf\u5f00\u5173(T1)",
    "category": "wxkg",
    "product_id": "x7mej5oc",
    "product_name": "ZigBee Switch-t",
    "online": true,
    "sub": true,
    "time_zone": "+01:00",
    "active_time": "2022-06-15T21:46:32+00:00",
    "create_time": "2022-06-15T21:46:32+00:00",
    "update_time": "2022-06-15T21:46:32+00:00",
    "function": {},
    "status_range": {
      "switch1_value": {
        "type": "Enum",
        "value": {
          "range": [
            "single_click",
            "double_click",
            "long_press"
          ]
        }
      },
      "battery_percentage": {
        "type": "Integer",
        "value": {
          "unit": "%",
          "min": 0,
          "max": 100,
          "scale": 0,
          "step": 1
        }
      }
    },
    "status": {
      "switch1_value": "single_click",
      "battery_percentage": 89
    },
    "home_assistant": {
      "name": "ZigBee Switch-t",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": []
    }
  }

贡献者指南