Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
alesf committed Jan 16, 2021
1 parent af1d815 commit 995ccdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ module.exports = function (homebridge) {
Service = homebridge.hap.Service;
Characteristic = homebridge.hap.Characteristic;

homebridge.registerAccessory("homebridge-air-quality", "AirQuality", AirQuality);
homebridge.registerAccessory("homebridge-http-air-quality", "HttpAirQuality", HttpAirQuality);
};

/**
* Air Accessory
*/
function AirQuality(log, config) {
function HttpAirQuality(log, config) {
this.log = log;

this.pollingInterval = config.pollingInterval || 300;
Expand Down Expand Up @@ -46,7 +46,7 @@ function AirQuality(log, config) {
};
}

AirQuality.prototype = {
HttpAirQuality.prototype = {

// wrapper for updateData method (new data/cache)
setData: function (params) {
Expand Down

0 comments on commit 995ccdc

Please sign in to comment.