diff --git a/src/app/app.ts b/src/app/app.ts index 5f84855e..5e34ba48 100644 --- a/src/app/app.ts +++ b/src/app/app.ts @@ -61,13 +61,13 @@ export class HeatingSchedulerApp { export default class App extends HomeyApp { public async onInit() { // we don't let homey wait for the init cycle to finish - async () => { + (async () => { await BootStrapper(this); // we let the container do our stuff const app = container.resolve(HeatingSchedulerApp); await app.run(this); - } + })(); } }