[x] I have checked to make sure the plugin is up to date
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):
OS: docker
iOS version: 17
Homehubs: Mac min / rpi 4
Node Version: v20.16.0
Plugin Version: Installed: v3.0.5
Accessory Type wifi plugs
Additional context
Add any other context about the problem here.
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.