This commit is contained in:
Koen Kanters committed 2019-11-18 17:54:28 +01:00
1 parent 878a88632b
commit eea660374f
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class DeviceConfigure extends BaseExtension {
}
async onZigbeeStarted() {
this.coordinatorEndpoint = this.zigbee.getDevicesByType('Coordinator')[0].endpoints[0];
this.coordinatorEndpoint = this.zigbee.getDevicesByType('Coordinator')[0].getEndpoint(1);
for (const device of this.zigbee.getClients()) {
const mappedDevice = zigbeeHerdsmanConverters.findByZigbeeModel(device.modelID);