[Device Support Request] Tuya TS0001 relay
See original GitHub issueIs your feature request related to a problem? Please describe. Just received Tuya TS0001 relay, https://www.aliexpress.com/item/1005002482791975.html
It hasn’t quirk, so works just basically.
In Tuya Smart application, it has power outage behavior and external switch type settings. The first setting is already implemented for plugs TS011F and TS0121, so it could implemented without problems. Switch type setting haven’t been implemented yet.
Here is a screenshot from Tuya Smart application:
Describe the solution you’d like The external switch type attribute could be added.
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x010a",
"in_clusters": [
"0x0000",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0xe000",
"0xe001"
],
"out_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZ3000_ark8nv4y",
"model": "TS0001",
"class": "ts011f_plug.Plug_0001"
}
Additional context @MattWestb may be you know attribute id for external switch type?
Issue Analytics
- State:
- Created 2 years ago
- Comments:33 (31 by maintainers)
Top GitHub Comments
I think, anyway, it should be TYPE not MODE
And maybe it’s better to move constant 0xE001 to constants section, right before TUYA_CLUSTER_ID = 0xEF00