ayushsharma82 / homebridge-tuya-local

A Homebridge plugin to control Tuya devices locally.
MIT License
5 stars 5 forks source link

after updating to homebridge V2 beta 20 #13

Open Budgie66 opened 1 month ago

Budgie66 commented 1 month ago

Checklist

Describe the bug after updating to homebridge v2.0.0-beta.20 the. plug in fails to start , I realise its a beta version I'm running so this is for info

TypeError: Cannot read properties of undefined (reading 'WRITE') at /homebridge/node_modules/homebridge-tuya-local/index.js:190:84 at Array.some () at /homebridge/node_modules/homebridge-tuya-local/index.js:186:41 at Array.forEach () at TuyaLan.configureAccessory (/homebridge/node_modules/homebridge-tuya-local/index.js:184:32) at file:///homebridge/node_modules/homebridge/src/bridgeService.ts:320:25 at Array.filter () at BridgeService.restoreCachedPlatformAccessories (file:///homebridge/node_modules/homebridge/src/bridgeService.ts:282:69) at ChildBridgeFork.startBridge (file:///homebridge/node_modules/homebridge/src/childBridgeFork.ts:190:24) [9/12/2024, 12:43:30 PM] [homebridge-tuya-local] Child bridge ended (code 1, signal null). The child bridge ended unexpectedly, which is normally due to the plugin not catching its errors properly. Please report this to the plugin developer by clicking on the 'Report An Issue' option in the plugin menu dropdown from the Homebridge UI. If there are related logs shown above, please include them in your report.

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.