We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using node-hue-api 1.0.3 and I have not set a custom scene id prefix.
When calling api.createScene, the resulting id is a NaN, whereas this should be a unique string.
Example result json:
{ lights: [ '4', '5', '6' ], id: 'NaN' }
I think the problem is in
HueApi.prototype._getScenePrefix = function () { return this._getConfig().scene_prefix; };
I think it should be
HueApi.prototype._getScenePrefix = function () { return this._getConfig().scenePrefix; };
The text was updated successfully, but these errors were encountered:
21daf77
Thanks, good find, my test coverage was not sufficient, I have now improved this.
Version 1.0.4 has been published to fix this.
1.0.4
Sorry, something went wrong.
thank you for the quick fix!
No branches or pull requests
I'm using node-hue-api 1.0.3 and I have not set a custom scene id prefix.
When calling api.createScene, the resulting id is a NaN, whereas this should be a unique string.
Example result json:
{ lights: [ '4', '5', '6' ], id: 'NaN' }
I think the problem is in
I think it should be
The text was updated successfully, but these errors were encountered: