I attempted to try and create a external definition but sadly I am at a loss and not sure where I am going wrong, but I believe these US switches are based off the EU ones but I am at a loss on where to go from here as my latest attempt gives me an error in the logs.
error: z2m: Failed to load external converter file 'ZS-US1-WH-MS.js' (Cannot read properties of undefined (reading 'push'))
error: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
Link
https://www.amazon.com/MOES-Requires-Neutral-Capacitor-Control/dp/B08X3K14FC/ref=sr_1_6?th=1
Database entry
{"id":54,"type":"EndDevice","ieeeAddr":"0xa4c13842d5d68a72","nwkAddr":4865,"manufId":4417,"epList":[1,2],"endpoints":{"1":{"epId":1,"inClusterList":[],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"65503":"���-\u0012���-\u0016","65506":55,"65508":0,"appVersion":80}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"epId":2,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":80,"interviewCompleted":false,"meta":{},"lastSeen":1717382314868}
Comments
I attempted to try and create a external definition but sadly I am at a loss and not sure where I am going wrong, but I believe these US switches are based off the EU ones but I am at a loss on where to go from here as my latest attempt gives me an error in the logs.
error: z2m: Failed to load external converter file 'ZS-US1-WH-MS.js' (Cannot read properties of undefined (reading 'push')) error: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
https://github.com/Koenkk/zigbee-herdsman-converters/blob/8a6cda40755e2899f7fdf875c54f0c3e9a6672af/src/devices/moes.ts#L187
External definition