Skip to content

Commit

Permalink
Remove leftover debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunoo committed Jul 27, 2020
1 parent 9c719b0 commit b861232
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Homebridge Octoprint Motion",
"name": "homebridge-octoprint-motion",
"version": "1.3.0",
"version": "1.3.1",
"description": "Exposes Current OctoPrint Status as a Motion Detector",
"main": "dist/index.js",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class OctoprintPlatform implements DynamicPlatformPlugin {
payload.logs.forEach((logEntry: any): void => { // eslint-disable-line @typescript-eslint/no-explicit-any
const result = regex.exec(logEntry);
if (result?.groups) {
this.log.warn(JSON.stringify(result));
const light = accessory.getService(hap.Service.Lightbulb);
if (light) {
if (result.groups.S) {
Expand Down

0 comments on commit b861232

Please sign in to comment.