Tuya MG-ZG01W in Home Assistant
Wall switches · Zigbee · 1 gang switch with power meter
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
- MG-ZG01W
- Device type
- Wall switches
- Radio
- Zigbee
- Power
- Mains powered
- Reports itself as
- _TZE200_gbagoilo, _TZE284_xnwxmj8z
- 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
Changes proposed for ZHA
- pull request Tuya TS0601 switches may have compatibility issues or missing features in ZHA. Updating to quirk v2 would improve their reliability and add new capabilities.
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_gbagoilo / TS0601
4 more quirks for this device
-
Quirk proposed, not merged yet
_TZE200_gbagoilo/TS0601zha-device-handlers · pull request #5529 · by @surajvelip · October 25, 2026 -
Quirk proposed, not merged yet
_TZE200_gbagoilo/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE284_xnwxmj8z/TS0601zha-device-handlers · pull request #5320 · by @cydia2020 · September 11, 2026 -
Quirk proposed, not merged yet
_TZE200_gbagoilo/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.
-
SONOFF ZBMINIR2
Wall switches · Zigbee · Zigbee smart switch
Zigbee2MQTT
ZHA quirk
3 open reports
Review · from 17.03 €
-
Aqara SSM-U01 Wall switches · Zigbee · Single switch module T1 (with neutral) Zigbee2MQTT ZHA quirk 1 open report Review
-
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.
