This commit is contained in:
Koen Kanters 2019-11-18 17:54:28 +01:00
parent 878a88632b
commit eea660374f

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);