Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing EIBDimmer #1

Open
krambox opened this issue May 21, 2017 · 0 comments
Open

Missing EIBDimmer #1

krambox opened this issue May 21, 2017 · 0 comments

Comments

@krambox
Copy link

krambox commented May 21, 2017

I'm testing lox-mqtt-gateway an i got an error in node-lox-structure-file

node-lox-mqtt-gateway/node_modules/node-lox-structure-file/lib/Factory.js:74
        throw new Error("Invalid type of control '"+value.type+"'");
        ^

Error: Invalid type of control 'EIBDimmer'

I create EIBDimmer.js similar to Dimmer.js and it basically works.


const util = require('util');
const Control = require('../Control.js');

var EIBDimmer = function (params, states, subControls) {
    Control.call(this, params, states, subControls);
};

util.inherits(EIBDimmer, Control);

module.exports = EIBDimmer;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant