mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
Use correct endpoint for binding dimmer. https://github.com/Koenkk/zigbee2mqtt/issues/2343
This commit is contained in:
parent
878a88632b
commit
eea660374f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user