How to get your Tuya TS0601 _TZE204_mtoaryre presence sensor working in Home Assistant?

How to get your Tuya TS0601 _TZE204_mtoaryre presence sensor work in Home Assistant?

  1. Download the custom quirk by BlitzWolf:
    [https://raw.githubusercontent.com/zigpy/zha-device-handlers/c7b130a20614e3e364c9fea023d632014a5726d1/zhaquirks/tuya/ts0601_motion.py]
  2. Rename this file to ts0601.py
  3. Edit this file en search for the section TuyaMmwRadarOccupancyVariant1(CustomDevice)
  4. Under MODELS_INFO, add:” (“_TZE204_mtoaryre”, “TS0601”),”
EXAMPLE:
…
\        MODELS_INFO: [
            ("_TZE204_qasjif9e", "TS0601"),
            ("_TZE204_mtoaryre", "TS0601"),
        ],
...
  1. Save the file
  2. In Home Assistant open Settings - Add-Ons - File Editor
  3. Make sure you have a folder called zha_quirks , if not create it.
  4. Open the folder zha_quirks and Upload the file ts0601.py
  5. Now go up one level and open the file configuration.yaml
  6. Add the following section
############################################################################
#            ZHA QUIRKS
############################################################################
zha:
  custom_quirks_path: /config/zha_quirks
  1. Make sure there is a green check mark and save the file.
  2. Now go to Devices and remove the Tuya presence sensor if it was previously added.
  3. Restart Home Assistant and there should be no warnings after the restart.
  4. Now add the Tuya presence sensor to HA and everything should work.
1 Like