From 411da8fba2fffe9c6ba56f3a5c1c3a6dd3ef9c71 Mon Sep 17 00:00:00 2001 From: George Bancila Date: Mon, 28 Oct 2024 15:39:19 +0200 Subject: [PATCH] Update TS0222.md --- docs/devices/TS0222.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/devices/TS0222.md b/docs/devices/TS0222.md index e8d8f1e0aeb6..547dedf83403 100644 --- a/docs/devices/TS0222.md +++ b/docs/devices/TS0222.md @@ -64,3 +64,24 @@ It's not possible to read (`/get`) or write (`/set`) this value. The minimal value is `0` and the maximum value is `255`. The unit of this value is `lqi`. +## Issues + +### Not supported in HomeAssistant Zigbee2MQTT Addon + +- Add new file `TS0222.js` in `/config/zigbee2mqtt` with following content + +```const {battery, illuminance, linkQuality} = require('zigbee-herdsman-converters/lib/modernExtend'); + +const definition = { + zigbeeModel: ['TS0222'], + model: 'TS0222', + vendor: '_TZ3000_8uxxzz4b', + description: 'Automatically generated definition', + extend: [battery(), illuminance(), linkQuality()], + meta: {}, +}; + +module.exports = definition; +``` +- Reboot Zigbee2MQTT Addon +- Reset device (hold reset button with a pin until it starts blinking) \ No newline at end of file