"use strict";
var exports = module.exports = {};
exports.AbstractItem = require('../items/AbstractItem.js');
exports.WifiGuestItem = require('../items/WifiGuestItem.js');
var FritzBoxAPI = require('./FritzBoxApi.js').FritzBoxAPI;

exports.Factory = function(FRITZBoxPlatform,homebridge) {
    this.platform = FRITZBoxPlatform;
    this.log = this.platform.log;
    this.homebridge = homebridge;
    this.fritzBoxApi = new FritzBoxAPI(FRITZBoxPlatform);
};

exports.Factory.prototype.CreateAccessories = function () {
    var accessoryList = [];
    accessoryList.push(new exports.WifiGuestItem(this.platform,this.homebridge,this.fritzBoxApi));
    return accessoryList;
};
"use strict";
var exports = module.exports = {};
exports.AbstractItem = require('../items/AbstractItem.js');
exports.WifiGuestItem = require('../items/WifiGuestItem.js');
var FritzBoxAPI = require('./FritzBoxAPI.js').FritzBoxAPI;

exports.Factory = function(FRITZBoxPlatform,homebridge) {
    this.platform = FRITZBoxPlatform;
    this.log = this.platform.log;
    this.homebridge = homebridge;
    this.fritzBoxApi = new FritzBoxAPI(FRITZBoxPlatform);
};

exports.Factory.prototype.CreateAccessories = function () {
    var accessoryList = [];
    accessoryList.push(new exports.WifiGuestItem(this.platform,this.homebridge,this.fritzBoxApi));
    return accessoryList;
};

Fix case insensitive import of FritzBoxAPI.js
Fix case insensitive import of FritzBoxAPI.js

On case sensitive filesystems (e.g. when running on a Raspberry Pi), the `require` failed since the file is called `FritzBoxAPI.js` instead of `FritzBoxApi.js`.