Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Device Support Request] _TZE204_rzrrjkz2 - Garden tap valve #3513

Open
Kawobei opened this issue Nov 13, 2024 · 0 comments
Open

[Device Support Request] _TZE204_rzrrjkz2 - Garden tap valve #3513

Kawobei opened this issue Nov 13, 2024 · 0 comments
Labels
device support request This requests support for a new device Tuya Request/PR regarding a Tuya device

Comments

@Kawobei
Copy link

Kawobei commented Nov 13, 2024

Problem description

I applied a standard Tuya Valve quirk and can see the switch now. It also activates in HA when I press it on and off on the unit, how ever if I try to turn it off or on in HA it does not activate on the unit.

Solution description

On/Off to work.

Screenshots/Video

Screenshots/Video

[Paste/upload your media here]

Device signature

_TZE204_rzrrjkz2
[Paste the device signature here]

Diagnostic information

Diagnostic information
{
  "node_descriptor": {
    "logical_type": 2,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 128,
    "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": "0x0051",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0702",
        "0xef00"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE204_rzrrjkz2",
  "model": "TS0601",
  "class": "ts0601_valve.TuyaValve"
}

Logs

Logs
2024-11-14 06:26:10.990 DEBUG (bellows.thread_0) [bellows.ash] Sending data  24a321a9602a15bf2f904b27ad5493099d4e2770c5c96750fdc66389fe2c8f7e
2024-11-14 06:26:10.992 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:42:73:6a:44:37, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 0, 'timestamp': 1731525970.97451, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:10.993 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:10.994 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed
2024-11-14 06:26:10.995 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:42:73:6a:44:37, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 0, 'timestamp': 1731525970.975139, 'min_update_delta': 30.0})
2024-11-14 06:26:10.999 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:42:73:6a:44:37, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 0, 'timestamp': 1731525970.975139, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:11.000 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:11.001 DEBUG (bellows.thread_0) [bellows.ash] Received data 43a3a1a9602a158401d97e
2024-11-14 06:26:11.001 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=3, ezsp_frame=b'\xe1\x80\x014\x00\x006')
2024-11-14 06:26:11.001 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-14 06:26:11.001 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-14 06:26:11.003 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed
2024-11-14 06:26:11.003 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 54}
2024-11-14 06:26:11.004 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:42:73:6a:44:37, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 229, 'timestamp': 1731525970.97556, 'min_update_delta': 30.0})
2024-11-14 06:26:11.005 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:42:73:6a:44:37, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 229, 'timestamp': 1731525970.97556, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:11.005 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:11.006 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed
2024-11-14 06:26:11.023 DEBUG (bellows.thread_0) [bellows.ash] Received data 53a3b1a96b2a15bf2f904b27ad5493099d4e279dc5ce67dcaf7e
2024-11-14 06:26:11.023 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=3, ezsp_frame=b'\xe1\x90\x01?\x00\x00\rv\x04\x01\x02\x07\x01\x01@\x01\x00\x006(\x00\x00')
2024-11-14 06:26:11.023 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-14 06:26:11.023 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-14 06:26:11.024 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 30221, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=54), 'messageTag': 40, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-14 06:26:11.024 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 30221, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=54), 40, <EmberStatus.SUCCESS: 0>, b'']
2024-11-14 06:26:11.034 DEBUG (bellows.thread_0) [bellows.ash] Received data 63a3b1a97d312a15b658964d24ab1593499cf4c37d5ee0b89874efdeb888fc7d5e3f827bf2de6f8fffc7d9d5ca693d517e
2024-11-14 06:26:11.034 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=3, ezsp_frame=b'\xe1\x90\x01E\x00\x00\x04\x01\x02\x07\x01\x01@\x01\x00\x00\xba\xe4\xd5\rv\xff\xff\x12\x18\xdb\x01\x00\x00\x00%\x90?\x00\x00\x00\x00\x00\x02\x00\x18\x00')
2024-11-14 06:26:11.035 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-14 06:26:11.035 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-14 06:26:11.035 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=186), 'lastHopLqi': 228, 'lastHopRssi': -43, 'sender': 0x760D, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\xdb\x01\x00\x00\x00%\x90?\x00\x00\x00\x00\x00\x02\x00\x18\x00'}
2024-11-14 06:26:11.036 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=186), 228, -43, 0x760D, 255, 255, b'\x18\xdb\x01\x00\x00\x00%\x90?\x00\x00\x00\x00\x00\x02\x00\x18\x00']
2024-11-14 06:26:11.036 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 13, 19, 26, 11, 36246, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x760D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=186, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\xdb\x01\x00\x00\x00%\x90?\x00\x00\x00\x00\x00\x02\x00\x18\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=228, rssi=-43)
2024-11-14 06:26:11.036 DEBUG (MainThread) [zigpy.zcl] [0x760D:1:0x0702] Received ZCL frame: b'\x18\xdb\x01\x00\x00\x00%\x90?\x00\x00\x00\x00\x00\x02\x00\x18\x00'
2024-11-14 06:26:11.036 DEBUG (MainThread) [zigpy.zcl] [0x760D:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=219, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-14 06:26:11.037 DEBUG (MainThread) [zigpy.zcl] [0x760D:1:0x0702] Decoded ZCL frame: TuyaZBMeteringClusterWithUnit:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint48_t, value=16272)), ReadAttributeRecord(attrid=512, status=<Status.SUCCESS: 0>, value=TypeValue(type=bitmap8, value=<bitmap8: 0>))])
2024-11-14 06:26:11.038 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x760D:1:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[TuyaZBMeteringClusterWithUnit] attr[current_summ_delivered] value[16272]
2024-11-14 06:26:11.038 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=0, attribute_name='current_summ_delivered', attribute_value=16272, cluster_handler_unique_id='a4:c1:38:5a:82:00:cc:b1:1:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-14 06:26:11.038 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x760D:1:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[TuyaZBMeteringClusterWithUnit] attr[status] value[0]
2024-11-14 06:26:11.038 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=512, attribute_name='status', attribute_value=<bitmap8: 0>, cluster_handler_unique_id='a4:c1:38:5a:82:00:cc:b1:1:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-14 06:26:11.039 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x760D:1:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[TuyaZBMeteringClusterWithUnit] attr[current_summ_delivered] value[current_summ_delivered]
2024-11-14 06:26:11.039 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=0, attribute_name='current_summ_delivered', attribute_value='current_summ_delivered', cluster_handler_unique_id='a4:c1:38:5a:82:00:cc:b1:1:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-14 06:26:11.039 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x760D:1:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[TuyaZBMeteringClusterWithUnit] attr[status] value[status]
2024-11-14 06:26:11.039 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=512, attribute_name='status', attribute_value='status', cluster_handler_unique_id='a4:c1:38:5a:82:00:cc:b1:1:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-14 06:26:11.039 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731525971.036246, 'ieee': a4:c1:38:5a:82:00:cc:b1, 'min_update_delta': 30.0})
2024-11-14 06:26:11.040 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731525971.036246, 'ieee': a4:c1:38:5a:82:00:cc:b1, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:11.040 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:11.041 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed
2024-11-14 06:26:11.042 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:5a:82:00:cc:b1, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 0, 'value': 16272, 'timestamp': 1731525971.038344, 'min_update_delta': 30.0})
2024-11-14 06:26:11.042 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:5a:82:00:cc:b1, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 0, 'value': 16272, 'timestamp': 1731525971.038344, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:11.043 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:11.043 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed
2024-11-14 06:26:11.044 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:5a:82:00:cc:b1, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 512, 'value': <bitmap8: 0>, 'timestamp': 1731525971.038713, 'min_update_delta': 30.0})
2024-11-14 06:26:11.044 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa383e465c0>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) DO UPDATE\n                SET value=excluded.value, last_updated=excluded.last_updated\n                WHERE\n                    value != excluded.value\n                    OR :timestamp - last_updated > :min_update_delta\n            ', {'ieee': a4:c1:38:5a:82:00:cc:b1, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 512, 'value': <bitmap8: 0>, 'timestamp': 1731525971.038713, 'min_update_delta': 30.0}) completed
2024-11-14 06:26:11.045 DEBUG (Thread-3) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>)
2024-11-14 06:26:11.045 DEBUG (Thread-3) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa383e465c0>) completed

Custom quirk

Custom quirk
class TuyaValve(CustomDevice):
    """Tuya valve device."""

    signature = {
        MODELS_INFO: [("_TZE204_rzrrjkz2", "TS0601")],
        # SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=81, device_version=1,
        # input_clusters=[0, 4, 5, 61184], output_clusters=[25, 10])
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaValveManufCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            }
        },
    }

    replacement = {
        ENDPOINTS: {
            1: {
                DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaOnOff,
                    TuyaValveWaterConsumed,
                    TuyaValveManufCluster,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            }
        }
    }

Additional information

It is this one from Aliexpress: https://www.aliexpress.com/item/1005007103926454.html?spm=a2g0o.order_list.order_list_main.11.60e01802DuBjuy

@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Nov 25, 2024
@TheJulianJES TheJulianJES added the device support request This requests support for a new device label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device support request This requests support for a new device Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

No branches or pull requests

2 participants