tuya/tuya-home-assistant

Unsupported switch

Open

#818 aberto em 20 de jun. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (960 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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": []
    }
  }

Guia do colaborador