mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 14:01:20 +00:00
Await permit join before continuing with startup. https://github.com/Koenkk/zigbee2mqtt/issues/2617
This commit is contained in:
1 parent
0111681cb7
commit
4926fb85ae
1 file changed
+1
-1
+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