mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
Pass logger to configure(). https://github.com/Koenkk/zigbee2mqtt/issues/5212
This commit is contained in:
parent
59ab1e6c22
commit
9345fe8c99
@ -128,7 +128,7 @@ class Configure extends Extension {
|
||||
|
||||
logger.info(`Configuring '${resolvedEntity.name}'`);
|
||||
try {
|
||||
await resolvedEntity.definition.configure(device, this.coordinatorEndpoint);
|
||||
await resolvedEntity.definition.configure(device, this.coordinatorEndpoint, logger);
|
||||
logger.info(`Successfully configured '${resolvedEntity.name}'`);
|
||||
device.meta.configured = resolvedEntity.definition.meta.configureKey;
|
||||
device.save();
|
||||
|
Loading…
Reference in New Issue
Block a user