Skip to content

Commit

Permalink
remove not-supported message and fix duplicate call to refreshDataTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
dkerr64 committed Dec 9, 2023
1 parent 436550c commit 2f3bc80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Homebridge YoLink",
"name": "homebridge-yolink",
"version": "1.4.4-beta.1",
"version": "1.4.4-beta.2",
"description": "Connect to YoLink.",
"license": "Apache-2.0",
"repository": {
Expand Down
5 changes: 0 additions & 5 deletions src/coSmokeDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ export async function initCoSmokeDetector(this: YoLinkPlatformAccessory): Promis
.onGet(handleGet.bind(this, 'smoke'));
this.thermoService?.getCharacteristic(platform.Characteristic.CurrentTemperature)
.onGet(handleGet.bind(this, 'thermo'));

platform.log.warn(`YoLink device type: '${device.type}' is not supported (${device.deviceMsgName}) (initialize)`
+ platform.reportError + JSON.stringify(device, null, 2));

this.refreshDataTimer(handleGet.bind(this));
}

/***********************************************************************
Expand Down

0 comments on commit 2f3bc80

Please sign in to comment.