fixed wrong reference in scene manager
This commit is contained in:
parent
35bbfbe746
commit
7260de46ca
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ async function main() {
|
||||||
client.init();
|
client.init();
|
||||||
|
|
||||||
// init the BLE interface
|
// init the BLE interface
|
||||||
const sceneManager = new SceneManager(site, devices);
|
const sceneManager = new SceneManager(plejdApi.site, devices);
|
||||||
const plejd = new PlejdService(cryptoKey, devices, sceneManager, config.connectionTimeout, config.writeQueueWaitTime, true);
|
const plejd = new PlejdService(cryptoKey, devices, sceneManager, config.connectionTimeout, config.writeQueueWaitTime, true);
|
||||||
plejd.on('connectFailed', () => {
|
plejd.on('connectFailed', () => {
|
||||||
console.log('plejd-ble: were unable to connect, will retry connection in 10 seconds.');
|
console.log('plejd-ble: were unable to connect, will retry connection in 10 seconds.');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue