Closed zakrabdea closed 7 months ago
Hi all, I have the same bug on starting homebridge I have 4 zone but no one is available
[AirzoneCloud] Adding new accessory Théo (UUID: df78d184-d489-4249-a09b-d9df6313f8cc) [07/10/2023, 13:13:58] TypeError: Cannot read properties of undefined (reading 'includes') at new AirzoneCloudPlatformAccessory (/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platformAccessory.ts:65:85) at AirzoneCloudHomebridgePlatform.registerDevice (/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platform.ts:307:9) at AirzoneCloudHomebridgePlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platform.ts:150:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
I have the same issue, 6 zones at home but only one showed on homebridge (the main one):
typeerror:%20Cannot%20read%20properties%20of%20undefined%20(reading%20'includes')%0Aat%20new%20AirzoneCloudPlatformAccessory%20(/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platformAccessory.ts:65:85)%0Aat%20AirzoneCloudHomebridgePlatform.registerDevice%20(/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platform.ts:307:9)%0Aat%20AirzoneCloudHomebridgePlatform.discoverDevices%20(/var/lib/homebridge/node_modules/homebridge-airzone-cloud/src/platform.ts:150:20)%0Aat%20processTicksAndRejections%20(node:internal/process/task_queues:95:5)
Solved in v0.3.7, tested with node v20.9.0 and Homebridge 1.7.0 which are the last version
Describe The Bug: I have 4 zones in my app Airzone Cloud and only 1 is visible in Homebridge and Homekit. The one that is visible works fine but I have 3 missing.
Logs:
Plugin Config:
Screenshots:
Environment: