Skip to content

[Device Support Request] Zigbee Water Valve Shutoff (currently works as a "light") #4103

@derekcentrico

Description

@derekcentrico

Problem description

Currently, the water shutoff valve shows as a light switch. This can be annoying because it may accidentally get switched off (meaning no incoming water to the house).

The URL isn't loading for me right now, but I bought it using this link (and several other folks I know with HA + Zigbee are using the same one) https://www.aliexpress.com/item/3256803635243669.html?spm=a2g0o.order_list.order_list_main.10.633d1802XajaZH

I am unsure if there is a way to segregate it from the quirk it's attaching to.

Solution description

Separate out the switch off valve to be a different device type, switch or whatever, but not a light.

Screenshots/Video

Screenshots/Video

Image
Image

Device signature

Device signature
{
  "node_descriptor": {
    "logical_type": 1,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 142,
    "manufacturer_code": 4417,
    "maximum_buffer_size": 66,
    "maximum_incoming_transfer_size": 66,
    "server_mask": 10752,
    "maximum_outgoing_transfer_size": 66,
    "descriptor_capability_field": 0
  },
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0100",
      "input_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0xe000",
        "0xe001"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZ3000_iedbgyxt",
  "model": "TS0001",
  "class": "zhaquirks.tuya.ts000x.Switch_1G_GPP"
}

Diagnostic information

Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2025.5.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.13.3",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/New_York",
    "os_name": "Linux",
    "os_version": "6.12.23-haos",
    "supervisor": "2025.05.3",
    "host_os": "Home Assistant OS 15.2",
    "docker_version": "28.0.4",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "ge_home": {
      "documentation": "https://github.com/simbaja/ha_gehome",
      "version": "2025.5.0",
      "requirements": [
        "gehomesdk==2025.5.0",
        "magicattr==0.1.6",
        "slixmpp==1.8.3"
      ]
    },
    "openwebui_conversation": {
      "documentation": "https://github.com/TheRealPSV/ha-openwebui-conversation#options",
      "version": "v1.3.0",
      "requirements": [
        "markdown-it-py==3.0.0",
        "mdit-plain==1.0.1"
      ]
    },
    "pura": {
      "documentation": "https://github.com/natekspencer/hacs-pura",
      "version": "1.2.2",
      "requirements": [
        "pypura==0.2.0",
        "deepdiff",
        "ical"
      ]
    },
    "pyscript": {
      "documentation": "https://github.com/custom-components/pyscript",
      "version": "1.6.4",
      "requirements": [
        "croniter==6.0.0",
        "watchdog==6.0.0"
      ]
    },
    "adaptive_lighting": {
      "documentation": "https://github.com/basnijholt/adaptive-lighting#readme",
      "version": "1.25.0",
      "requirements": [
        "ulid-transform"
      ]
    },
    "browser_mod": {
      "documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
      "version": "2.3.8",
      "requirements": []
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.9.2",
      "requirements": [
        "hass-web-proxy-lib==0.0.7"
      ]
    },
    "sleepme_thermostat": {
      "documentation": "https://github.com/rsampayo/sleepme_thermostat",
      "version": "3.0.0",
      "requirements": []
    },
    "enphase_envoy": {
      "documentation": "https://github.com/briancmpbll/home_assistant_custom_envoy#readme",
      "version": "0.0.20",
      "requirements": [
        "pyjwt",
        "xmltodict",
        "httpx",
        "envoy_utils"
      ]
    },
    "ui_lovelace_minimalist": {
      "documentation": "https://ui-lovelace-minimalist.github.io/UI/",
      "version": "v1.3.18",
      "requirements": [
        "aiofiles>=0.8.0",
        "aiogithubapi>=22.2.4"
      ]
    },
    "wyzeapi": {
      "documentation": "https://github.com/SecKatie/ha-wyzeapi#readme",
      "version": "0.1.33",
      "requirements": [
        "wyzeapy>=0.5.28,<0.6"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/use/",
      "version": "2.0.5",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "traeger": {
      "documentation": "https://github.com/njobrien1006/hass_traeger",
      "version": "2024.12.06",
      "requirements": []
    },
    "dahua": {
      "documentation": "https://github.com/rroller/dahua",
      "version": "0.9.72",
      "requirements": []
    },
    "scheduler": {
      "documentation": "https://github.com/nielsfaber/scheduler-component",
      "version": "v0.0.0",
      "requirements": []
    },
    "chime_tts": {
      "documentation": "https://nimroddolev.github.io/chime_tts",
      "version": "v1.2.2",
      "requirements": [
        "pydub",
        "aiofiles"
      ]
    },
    "smart_irrigation": {
      "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
      "version": "v2025.5.4",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "hassio",
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "dmulcahey",
      "adminiuga",
      "puddly",
      "TheJulianJES"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload",
      "homeassistant_hardware"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp",
      "zha",
      "universal_silabs_flasher"
    ],
    "requirements": [
      "zha==0.0.57"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*slzb-07*",
        "known_devices": [
          "smlight slzb-07"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*conbee*",
        "known_devices": [
          "Conbee III"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_uzg-01._tcp.local.",
        "name": "uzg-01*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      },
      {
        "type": "_xzg._tcp.local.",
        "name": "xzg*"
      },
      {
        "type": "_czc._tcp.local.",
        "name": "czc*"
      },
      {
        "type": "_zigbee-coordinator._tcp.local.",
        "name": "*"
      }
    ],
    "is_built_in": true,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 6.23227097094059e-05
    },
    "01JHNARHSRGVDP29Q34J8ZE73S": {
      "wait_import_platforms": -0.01318000489845872,
      "config_entry_setup": 6.047878882847726
    }
  },
  "data": {
    "version": 1,
    "ieee": "**REDACTED**",
    "nwk": "0x81C4",
    "manufacturer": "_TZ3000_iedbgyxt",
    "model": "TS0001",
    "friendly_manufacturer": "_TZ3000_iedbgyxt",
    "friendly_model": "TS0001",
    "name": "_TZ3000_iedbgyxt TS0001",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts000x.Switch_1G_GPP",
    "quirk_id": "tuya.plug_on_off_attributes",
    "manufacturer_code": 4417,
    "power_source": "Mains",
    "lqi": 255,
    "rssi": -44,
    "last_seen": "2025-05-31T19:19:48.377999+00:00",
    "available": true,
    "device_type": "Router",
    "active_coordinator": false,
    "node_descriptor": {
      "logical_type": "Router",
      "complex_descriptor_available": false,
      "user_descriptor_available": false,
      "reserved": 0,
      "aps_flags": 0,
      "frequency_band": 8,
      "mac_capability_flags": 142,
      "manufacturer_code": 4417,
      "maximum_buffer_size": 66,
      "maximum_incoming_transfer_size": 66,
      "server_mask": 10752,
      "maximum_outgoing_transfer_size": 66,
      "descriptor_capability_field": 0
    },
    "endpoints": {
      "1": {
        "profile_id": 260,
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "in_clusters": [
          {
            "cluster_id": "0x0000",
            "endpoint_attribute": "basic",
            "attributes": [
              {
                "id": "0x0013",
                "name": "alarm_mask",
                "zcl_type": "map8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0001",
                "name": "app_version",
                "zcl_type": "uint8",
                "value": 82,
                "unsupported": false
              },
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0006",
                "name": "date_code",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0012",
                "name": "device_enabled",
                "zcl_type": "bool_",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0014",
                "name": "disable_local_config",
                "zcl_type": "map8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0008",
                "name": "generic_device_class",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0009",
                "name": "generic_device_type",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0003",
                "name": "hw_version",
                "zcl_type": "uint8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0010",
                "name": "location_desc",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0004",
                "name": "manufacturer",
                "zcl_type": "string",
                "value": "_TZ3000_iedbgyxt",
                "unsupported": false
              },
              {
                "id": "0x000c",
                "name": "manufacturer_version_details",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0005",
                "name": "model",
                "zcl_type": "string",
                "value": "TS0001",
                "unsupported": false
              },
              {
                "id": "0x0011",
                "name": "physical_env",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0007",
                "name": "power_source",
                "zcl_type": "enum8",
                "value": 1,
                "unsupported": false
              },
              {
                "id": "0x000a",
                "name": "product_code",
                "zcl_type": "octstr",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x000e",
                "name": "product_label",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x000b",
                "name": "product_url",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": 0,
                "unsupported": false
              },
              {
                "id": "0x000d",
                "name": "serial_number",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0002",
                "name": "stack_version",
                "zcl_type": "uint8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x4000",
                "name": "sw_build_id",
                "zcl_type": "string",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "zcl_version",
                "zcl_type": "uint8",
                "value": 3,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0x0003",
            "endpoint_attribute": "identify",
            "attributes": [
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "identify_time",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0x0004",
            "endpoint_attribute": "groups",
            "attributes": [
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "name_support",
                "zcl_type": "map8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0x0005",
            "endpoint_attribute": "scenes",
            "attributes": [
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "count",
                "zcl_type": "uint8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0002",
                "name": "current_group",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0001",
                "name": "current_scene",
                "zcl_type": "uint8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0005",
                "name": "last_configured_by",
                "zcl_type": "EUI64",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0004",
                "name": "name_support",
                "zcl_type": "map8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0003",
                "name": "scene_valid",
                "zcl_type": "bool_",
                "value": null,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0x0006",
            "endpoint_attribute": "on_off",
            "attributes": [
              {
                "id": "0x8001",
                "name": "backlight_mode",
                "zcl_type": "enum8",
                "value": 1,
                "unsupported": false
              },
              {
                "id": "0x8000",
                "name": "child_lock",
                "zcl_type": "bool_",
                "value": 0,
                "unsupported": true
              },
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x4000",
                "name": "global_scene_control",
                "zcl_type": "bool_",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x4002",
                "name": "off_wait_time",
                "zcl_type": "uint16",
                "value": 0,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "on_off",
                "zcl_type": "bool_",
                "value": 1,
                "unsupported": false
              },
              {
                "id": "0x4001",
                "name": "on_time",
                "zcl_type": "uint16",
                "value": 0,
                "unsupported": false
              },
              {
                "id": "0x8002",
                "name": "power_on_state",
                "zcl_type": "enum8",
                "value": 0,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x4003",
                "name": "start_up_on_off",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": true
              },
              {
                "id": "0x8004",
                "name": "switch_mode",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0xe000",
            "endpoint_attribute": "tuya_manufacturer_specific_57344",
            "attributes": []
          },
          {
            "cluster_id": "0xe001",
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": [
              {
                "id": "0xd030",
                "name": "external_switch_type",
                "zcl_type": "enum8",
                "value": 0,
                "unsupported": false
              }
            ]
          }
        ],
        "out_clusters": [
          {
            "cluster_id": "0x000a",
            "endpoint_attribute": "time",
            "attributes": [
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0004",
                "name": "dst_end",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0005",
                "name": "dst_shift",
                "zcl_type": "int32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0003",
                "name": "dst_start",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0008",
                "name": "last_set_time",
                "zcl_type": "UTC",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0007",
                "name": "local_time",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0006",
                "name": "standard_time",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "time",
                "zcl_type": "UTC",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0001",
                "name": "time_status",
                "zcl_type": "map8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0002",
                "name": "time_zone",
                "zcl_type": "int32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0009",
                "name": "valid_until_time",
                "zcl_type": "UTC",
                "value": null,
                "unsupported": false
              }
            ]
          },
          {
            "cluster_id": "0x0019",
            "endpoint_attribute": "ota",
            "attributes": [
              {
                "id": "0xfffd",
                "name": "cluster_revision",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0002",
                "name": "current_file_version",
                "zcl_type": "uint32",
                "value": 82,
                "unsupported": false
              },
              {
                "id": "0x0003",
                "name": "current_zigbee_stack_version",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0004",
                "name": "downloaded_file_version",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0005",
                "name": "downloaded_zigbee_stack_version",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0001",
                "name": "file_offset",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x000a",
                "name": "image_stamp",
                "zcl_type": "uint32",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0008",
                "name": "image_type_id",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0006",
                "name": "image_upgrade_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0007",
                "name": "manufacturer_id",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0009",
                "name": "minimum_block_req_delay",
                "zcl_type": "uint16",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0xfffe",
                "name": "reporting_status",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x000b",
                "name": "upgrade_activation_policy",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x0000",
                "name": "upgrade_server_id",
                "zcl_type": "EUI64",
                "value": null,
                "unsupported": false
              },
              {
                "id": "0x000c",
                "name": "upgrade_timeout_policy",
                "zcl_type": "enum8",
                "value": null,
                "unsupported": false
              }
            ]
          }
        ]
      }
    },
    "original_signature": {
      "model": "TS0001",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x0100",
          "input_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0xe000",
            "0xe001"
          ],
          "output_clusters": [
            "0x000a",
            "0x0019"
          ]
        },
        "242": {
          "profile_id": "0xa1e0",
          "device_type": "0x0061",
          "input_clusters": [],
          "output_clusters": [
            "0x0021"
          ]
        }
      }
    },
    "zha_lib_entities": {
      "button": [
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "button",
            "class_name": "IdentifyButton",
            "translation_key": null,
            "device_class": "identify",
            "state_class": null,
            "entity_category": "diagnostic",
            "entity_registry_enabled_default": true,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "IdentifyClusterHandler",
                "generic_id": "cluster_handler_0x0003",
                "endpoint_id": 1,
                "cluster": {
                  "id": 3,
                  "name": "Identify",
                  "type": "server"
                },
                "id": "1:0x0003",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": null
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "command": "identify",
            "args": [
              5
            ],
            "kwargs": {}
          },
          "state": {
            "class_name": "IdentifyButton",
            "available": true
          }
        }
      ],
      "light": [
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "light",
            "class_name": "Light",
            "translation_key": "light",
            "device_class": null,
            "state_class": null,
            "entity_category": null,
            "entity_registry_enabled_default": true,
            "enabled": true,
            "primary": true,
            "cluster_handlers": [
              {
                "class_name": "OnOffClusterHandler",
                "generic_id": "cluster_handler_0x0006",
                "endpoint_id": 1,
                "cluster": {
                  "id": 6,
                  "name": "On/Off",
                  "type": "server"
                },
                "id": "1:0x0006",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": "on_off"
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "effect_list": [
              "off"
            ],
            "supported_features": 8,
            "min_mireds": 153,
            "max_mireds": 500
          },
          "state": {
            "class_name": "Light",
            "on": true,
            "brightness": null,
            "xy_color": null,
            "color_temp": null,
            "effect_list": [
              "off"
            ],
            "effect": "off",
            "supported_features": 8,
            "color_mode": "onoff",
            "supported_color_modes": [
              "onoff"
            ],
            "off_with_transition": false,
            "off_brightness": null,
            "available": true
          }
        }
      ],
      "select": [
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "select",
            "class_name": "TuyaBacklightModeSelectEntity",
            "translation_key": "backlight_mode",
            "device_class": null,
            "state_class": null,
            "entity_category": "config",
            "entity_registry_enabled_default": true,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "OnOffClusterHandler",
                "generic_id": "cluster_handler_0x0006",
                "endpoint_id": 1,
                "cluster": {
                  "id": 6,
                  "name": "On/Off",
                  "type": "server"
                },
                "id": "1:0x0006",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": "on_off"
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "enum": "TuyaBacklightMode",
            "options": [
              "Off",
              "LightWhenOn",
              "LightWhenOff"
            ]
          },
          "state": {
            "class_name": "TuyaBacklightModeSelectEntity",
            "available": true,
            "state": "LightWhenOn"
          }
        },
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "select",
            "class_name": "TuyaPowerOnStateSelectEntity",
            "translation_key": "power_on_state",
            "device_class": null,
            "state_class": null,
            "entity_category": "config",
            "entity_registry_enabled_default": true,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "OnOffClusterHandler",
                "generic_id": "cluster_handler_0x0006",
                "endpoint_id": 1,
                "cluster": {
                  "id": 6,
                  "name": "On/Off",
                  "type": "server"
                },
                "id": "1:0x0006",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": "on_off"
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "enum": "TuyaPowerOnState",
            "options": [
              "Off",
              "On",
              "LastState"
            ]
          },
          "state": {
            "class_name": "TuyaPowerOnStateSelectEntity",
            "available": true,
            "state": "Off"
          }
        }
      ],
      "sensor": [
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "sensor",
            "class_name": "LQISensor",
            "translation_key": "lqi",
            "device_class": null,
            "state_class": "measurement",
            "entity_category": "diagnostic",
            "entity_registry_enabled_default": false,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "BasicClusterHandler",
                "generic_id": "cluster_handler_0x0000",
                "endpoint_id": 1,
                "cluster": {
                  "id": 0,
                  "name": "Basic",
                  "type": "server"
                },
                "id": "1:0x0000",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": null
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "attribute": null,
            "suggested_display_precision": null,
            "divisor": 1,
            "multiplier": 1,
            "unit": null
          },
          "state": {
            "class_name": "LQISensor",
            "available": true,
            "state": 255
          }
        },
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "sensor",
            "class_name": "RSSISensor",
            "translation_key": "rssi",
            "device_class": "signal_strength",
            "state_class": "measurement",
            "entity_category": "diagnostic",
            "entity_registry_enabled_default": false,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "BasicClusterHandler",
                "generic_id": "cluster_handler_0x0000",
                "endpoint_id": 1,
                "cluster": {
                  "id": 0,
                  "name": "Basic",
                  "type": "server"
                },
                "id": "1:0x0000",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": null
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "attribute": null,
            "suggested_display_precision": null,
            "divisor": 1,
            "multiplier": 1,
            "unit": "dBm"
          },
          "state": {
            "class_name": "RSSISensor",
            "available": true,
            "state": -44
          }
        }
      ],
      "update": [
        {
          "info_object": {
            "fallback_name": null,
            "unique_id": "**REDACTED**",
            "migrate_unique_ids": [],
            "platform": "update",
            "class_name": "FirmwareUpdateEntity",
            "translation_key": null,
            "device_class": "firmware",
            "state_class": null,
            "entity_category": "config",
            "entity_registry_enabled_default": true,
            "enabled": true,
            "primary": false,
            "cluster_handlers": [
              {
                "class_name": "OtaClientClusterHandler",
                "generic_id": "cluster_handler_0x0019_client",
                "endpoint_id": 1,
                "cluster": {
                  "id": 25,
                  "name": "Ota",
                  "type": "client"
                },
                "id": "1:0x0019_client",
                "unique_id": "**REDACTED**",
                "status": "INITIALIZED",
                "value_attribute": null
              }
            ],
            "device_ieee": "**REDACTED**",
            "endpoint_id": 1,
            "available": true,
            "group_id": null,
            "supported_features": 7
          },
          "state": {
            "class_name": "FirmwareUpdateEntity",
            "available": true,
            "installed_version": "0x00000052",
            "in_progress": false,
            "update_percentage": null,
            "latest_version": "0x00000052",
            "release_summary": null,
            "release_notes": null,
            "release_url": null
          }
        }
      ]
    },
    "neighbors": [
      {
        "device_type": "Coordinator",
        "rx_on_when_idle": "On",
        "relationship": "Parent",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0000",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 157
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x36E2",
        "permit_joining": "Unknown",
        "depth": 2,
        "lqi": 51
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xDB86",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 106
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD607",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 66
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8F6C",
        "permit_joining": "Unknown",
        "depth": 2,
        "lqi": 45
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x2F6F",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 85
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x1F2F",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 66
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD3B7",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 54
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8DA5",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 88
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD7F9",
        "permit_joining": "Unknown",
        "depth": 2,
        "lqi": 81
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x81E3",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 121
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x681F",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 48
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x4B8A",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 60
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xE4F4",
        "permit_joining": "Unknown",
        "depth": 1,
        "lqi": 60
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0474",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 54
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x8C37",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 27
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xE501",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 42
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xC035",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 69
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x3F82",
        "permit_joining": "Unknown",
        "depth": 0,
        "lqi": 78
      }
    ],
    "routes": []
  }
}

Logs

Logs
[Paste the logs here]

Custom quirk

Custom quirk

It appears to attach to "class": "zhaquirks.tuya.ts000x.Switch_1G_GPP" currently which I guess is for a light, not a switch.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    TuyaRequest/PR regarding a Tuya devicedevice support requestThis requests support for a new device

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions