Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin failure on Homebridge v2.0.0-beta.26 #26

Closed
awlynn68 opened this issue Jan 19, 2025 · 4 comments
Closed

Plugin failure on Homebridge v2.0.0-beta.26 #26

awlynn68 opened this issue Jan 19, 2025 · 4 comments

Comments

@awlynn68
Copy link

awlynn68 commented Jan 19, 2025

Running as a child bridge. Fails with the following after update to beta.26

TypeError: Cannot read properties of undefined (reading 'find')
at file:///var/lib/homebridge/node_modules/homebridge/src/bridgeService.ts:379:21
at Array.filter ()
at BridgeService.handleUpdatePlatformAccessories (file:///var/lib/homebridge/node_modules/homebridge/src/bridgeService.ts:377:62)
at HomebridgeAPI.emit (node:events:524:28)
at HomebridgeAPI.updatePlatformAccessories (file:///var/lib/homebridge/node_modules/homebridge/src/api.ts:311:10)
at UpsPlatform._flushCachedAccessories (file:///var/lib/homebridge/node_modules/homebridge-ups/node_modules/homebridge-lib/lib/Platform.js:279:22)
at UpsPlatform._main (file:///var/lib/homebridge/node_modules/homebridge-ups/node_modules/homebridge-lib/lib/Platform.js:226:10)
at processTicksAndRejections (node:internal/process/task_queues:105:5)

This is happening on two different installations of Homebridge in two separate physical locations.

@awlynn68 awlynn68 changed the title Plug failure on Homebridge v2.0.0-beta.26 Plugin failure on Homebridge v2.0.0-beta.26 Jan 19, 2025
@ebaauw
Copy link
Owner

ebaauw commented Jan 19, 2025

This appears to be a problem in the Homebridge beta itself. Best open an issue there.

@awlynn68
Copy link
Author

Thank you for the prompt response.

Moved issue to homebridge/homebridge#3773

ebaauw added a commit to ebaauw/homebridge-lib that referenced this issue Jan 20, 2025
Fix bug that manifested in Homebridge 2.0 beta, see homebridge/homebridge#3765,  homebridge/homebridge#3773, and ebaauw/homebridge-ups#26.
@ebaauw
Copy link
Owner

ebaauw commented Jan 20, 2025

Fixed in v1.2.16.

@awlynn68
Copy link
Author

I concur that it has been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants