You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`👋 Hi there! The Tuya device with manufacturer name \`${name}\` is already supported in the latest dev branch.`,
82
+
`👋 Hi there! The Tuya device with manufacturer name \`${fullName}\` is already supported in the latest dev branch.`,
74
83
"See this [guide](https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) on how to update, after updating you can remove your external converter.",
75
84
"",
76
85
"In case you created the external converter with the goal to extend or fix an issue with the out-of-the-box support, please submit a pull request.",
`👋 Hi there! A similar Tuya device of which the manufacturer name also ends with \`_${partialName}\` is already supported.`,
107
+
"This means the device can probably be easily be supported by re-using the existing converter.",
108
+
"",
109
+
"I found the following matches:",
110
+
"```",
111
+
partialMatch.split('\n'),
112
+
"```\n",
113
+
`Try to stop Z2M, change all occurrences of \`${partialName}\` in the \`data/database.db\` to one of the matches above and start Z2M.`,
114
+
"Let us know if it works so we can support this device out-of-the-box!",
115
+
].join('\n')
116
+
});
117
+
return;
118
+
}
89
119
}
90
120
}
91
121
@@ -97,9 +127,12 @@ jobs:
97
127
body: [
98
128
"🙏 Thank you for creating this issue and sharing your external converter!",
99
129
"",
100
-
"Please submit a pull request on this repository so the device can be supported out-of-the-box with the next release.",
130
+
"In case all features work, please submit a pull request on this repository so the device can be supported out-of-the-box with the next release.",
101
131
"For instructions on how to create a pull request, see the [GitHub documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).",
102
132
"",
133
+
"If **NOT** all features work, please follow the [How To Support new devices](https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html)",
134
+
tuyaManufacturerNames.length > 0 ? "Since this is a Tuya also consider [How To Support new Tuya devices](https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html)" : "",
135
+
"",
103
136
"If you need help with the process, feel free to ask here and we'll be happy to assist."
0 commit comments