Skip to content

Commit

Permalink
fix: no console allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiHash committed Mar 6, 2021
1 parent 9da553a commit 5b58621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"ignorePatterns": ["build"],
"rules": {
"no-console": ["error"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
Expand Down
2 changes: 2 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ export class LaCrosseViewPlatform implements DynamicPlatformPlugin {
return accessory.UUID === uuid
})

console.warn('gui')

if (!existingDevice) {
// it is possible to remove platform accessories at any time using `api.unregisterPlatformAccessories`, eg.:
// remove platform accessories when no longer present
Expand Down

0 comments on commit 5b58621

Please sign in to comment.