Tuya DIY-DC-04 in Home Assistant
Wall switches · Zigbee · 4 gang relay board
This device is known to both Zigbee integrations: Zigbee2MQTT has a definition for it, and ZHA has a quirk that adapts it.
Facts about this device
- Brand
- Tuya
- Model
- DIY-DC-04
- Device type
- Wall switches
- Radio
- Zigbee
- Power
- Mains powered
- Reports itself as
- _TZE204_58of2pfn
- Same device as
- Tuya TS0601_switch_4_gang_1
- Also sold as
- AVATTO WSMD-4, AVATTO ZGB-WS-EU, AVATTO ZWSMD-4, Moes WS-EUB1-ZG, Norklmes MKS-CM-W5, Somgoms ZSQB-SMB-ZB, Tuya MG-ZG04W, ZYXH TY-04Z
- Zigbee2MQTT
- Device page on zigbee2mqtt.io
How the device gets into Home Assistant
- official ZHA – with a Zigbee coordinator and the ZHA integration; the quirk the device needs is part of ZHA.
- official Tuya Zigbee gateway – paired with a Tuya Zigbee gateway and controlled through the Tuya cloud with the Tuya integration.
- add-on Zigbee2MQTT – Zigbee2MQTT runs as an add-on and passes the device on to Home Assistant over MQTT.
Known problems and fixes
Requests for ZHA support
- support requested A 4-gang switch (zwsmd-4) has delays when switching between gangs. The proposed change would fix the timing issues for smoother operation.
ZHA quirks for this device
Quirk included in ZHA Recommended quirk
Part of ZHA – Home Assistant uses it on its own, nothing to install.
Source:
zha-device-handlers · since zha-quirks 2.2.2
Signature: _TZE200_aqnazj70 / TS0601
12 more quirks for this device
-
Quirk included in ZHA
_TZE200_mexisfik/TS0601zha-device-handlers · since zha-quirks 2.2.2 -
Quirk included in ZHA
_TZE204_58of2pfn/TS0601zha-device-handlers · since zha-quirks 2.2.2 -
Quirk proposed, not merged yet
_TZE200_aqnazj70/TS0601zha-device-handlers · pull request #5529 · by @surajvelip · October 25, 2026 -
Quirk proposed, not merged yet
_TZE200_mexisfik/TS0601zha-device-handlers · pull request #5529 · by @surajvelip · October 25, 2026 -
Quirk proposed, not merged yet
_TZE204_58of2pfn/TS0601zha-device-handlers · pull request #5529 · by @surajvelip · October 25, 2026 -
Quirk proposed, not merged yet
_TZE200_aqnazj70/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE200_mexisfik/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE204_58of2pfn/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE204_mexisfik/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE200_aqnazj70/TS0601zha-device-handlers · pull request #5015 · by @MahdiBM · May 19, 2026 -
Quirk proposed, not merged yet
_TZE200_mexisfik/TS0601zha-device-handlers · pull request #5015 · by @MahdiBM · May 19, 2026 -
Quirk proposed, not merged yet
_TZE204_58of2pfn/TS0601zha-device-handlers · pull request #5015 · by @MahdiBM · May 19, 2026
Alternatives
The same job from other makers – devices of the same type and radio that work with Home Assistant too.
-
Aqara SSM-U01 Wall switches · Zigbee · Single switch module T1 (with neutral) Zigbee2MQTT ZHA quirk 2 open reports Review · from 25.50 €
-
SONOFF ZBMINIR2
Wall switches · Zigbee · Zigbee smart switch
Zigbee2MQTT
ZHA quirk
2 open reports
Review · from 11.89 €
-
AduroSmart 81849
Wall switches · Zigbee · ERIA Built-in Dimmer
Zigbee2MQTT
Review
-
BTicino 3584C
Wall switches · Zigbee · Connected lighting micromodule
Zigbee2MQTT
Review
Sources: Zigbee2MQTT, ZHA quirks, Z-Wave JS, the Matter certification database, Shelly, ESPHome, Tasmota, Tuya Local and the issue trackers on GitHub. Reports are assigned to a device by the identifiers they contain; the sentences come from the integration pages, where a language model writes them from the titles.
