mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 23:00:55 +00:00
Await permit join before continuing with startup. https://github.com/Koenkk/zigbee2mqtt/issues/2617
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ class Controller {
|
||||
logger.warn('Set `permit_join` to `false` once you joined all devices.');
|
||||
}
|
||||
|
||||
this.zigbee.permitJoin(settings.get().permit_join);
|
||||
await this.zigbee.permitJoin(settings.get().permit_join);
|
||||
|
||||
// MQTT
|
||||
this.mqtt.on('message', this.onMQTTMessage.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user