From 9dc5f0376139c268339cf016cebfe50a52bdb7b9 Mon Sep 17 00:00:00 2001 From: Greg Brant <54865582+gregbrant2@users.noreply.github.com> Date: Fri, 20 Oct 2023 19:23:34 +0100 Subject: [PATCH] Update 01_support_new_devices.md (#2279) * Update 01_support_new_devices.md Fix line reference in temperature example link * Update 01_support_new_devices.md Fix URL to fromZigBee.ts * Update 01_support_new_devices.md --------- Co-authored-by: Koen Kanters --- docs/advanced/support-new-devices/01_support_new_devices.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/support-new-devices/01_support_new_devices.md b/docs/advanced/support-new-devices/01_support_new_devices.md index 7c6e67a543725..659d0900fc383 100755 --- a/docs/advanced/support-new-devices/01_support_new_devices.md +++ b/docs/advanced/support-new-devices/01_support_new_devices.md @@ -75,9 +75,9 @@ Some basic external converter examples: - Definitions of already supported devices can be found [here](https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices). It may help to look at devices from the same vendor or type. ### 3. Adding converter(s) for your device -In order to parse the messages of your Zigbee device we need to add converter(s). Existing converters can probably be reused, those can be found [here](https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/converters/fromZigbee.js). +In order to parse the messages of your Zigbee device we need to add converter(s). Existing converters can probably be reused, those can be found [here](https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/converters/fromZigbee.ts). -For e.g. the following message we could use the already existing [`fz.temperature` converter](https://github.com/Koenkk/zigbee-herdsman-converters/blob/e1f8b3c537a99891dfb451734e52bfd2da643a20/src/converters/fromZigbee.js#L372): +For e.g. the following message we could use the already existing [`fz.temperature` converter](https://github.com/Koenkk/zigbee-herdsman-converters/blob/4a8d546d9c1150d81e42d56a85e2315c32c4ed11/src/converters/fromZigbee.ts#L397): ``` Zigbee2MQTT:debug 2019-11-09T12:24:22: No converter available for 'WSDCGQ01LM' with cluster 'msTemperatureMeasurement' and type 'attributeReport' and data '{"measuredValue":2512}' ```