Skip to content

Commit

Permalink
fixed wrong imports
Browse files Browse the repository at this point in the history
  • Loading branch information
werthdavid committed Dec 6, 2021
1 parent 06eda45 commit bde3853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions CameraAccessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ module.exports = (hap, Accessory, log) => class CameraAccessory extends Accessor
this.screenshotHelper = new ScreenshotHelper(log, conf.url, conf.chromiumPath, conf.ignoreHTTPSErrors, conf.jsFile);
new CameraServer(hap, conf, log);
} else {
super(name, uuid, Categories.CAMERA);
this.getService(Service.AccessoryInformation)
.setCharacteristic(Characteristic.Manufacturer, "David")
.setCharacteristic(Characteristic.Model, "Website")
.setCharacteristic(Characteristic.SerialNumber, id)
.setCharacteristic(Characteristic.FirmwareRevision, packageJSON.version);
super(name, uuid, hap.Categories.CAMERA);
this.getService(hap.Service.AccessoryInformation)
.setCharacteristic(hap.Characteristic.Manufacturer, "David")
.setCharacteristic(hap.Characteristic.Model, "Website")
.setCharacteristic(hap.Characteristic.SerialNumber, id)
.setCharacteristic(hap.Characteristic.FirmwareRevision, packageJSON.version);
this.on("identify", function (paired, callback) {
log("identify");
if (!!callback) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-website-to-camera",
"version": "2.0.2",
"version": "2.0.3",
"description": "shows the screenshot of a website as camera (image)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit bde3853

Please sign in to comment.