tuya/tuya-home-assistant

Unsupported switch

Open

#818 aperta il 20 giu 2022

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari) (206 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (960 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor