diff --git a/.eslintrc.json b/.eslintrc.json index 7a0d26b..7d96356 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,4 @@ { - "extends": "athom" -} \ No newline at end of file + "extends": "athom", + "strict": "off" +} diff --git a/app.ts b/app.ts index 962480b..0c2bed3 100644 --- a/app.ts +++ b/app.ts @@ -2,11 +2,14 @@ import sourceMapSupport from 'source-map-support' sourceMapSupport.install() import { App } from 'homey' +const { Log } = require('homey-log') class UponorApp extends App { - async onInit() { - this.log('UponorApp is running...') - } + async onInit() { + // @ts-ignore TS2339 + this.homeyLog = new Log({ homey: this.homey }) + this.log('UponorApp is running...') + } } module.exports = UponorApp