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
fired
signal
In the trigger class, when you fetch scenes, you can see the properties signal & fired. "Hide" them with enumarble=false.
enumarble=false
Example:
"triggers": [ { "signal": { "_events": {}, "_eventsCount": 1 }, "fired": null, "type": "webhook", "params": { "_id": "647c43d8699309d9cb0dd189" }, "_id": "647c4466699309d9cb0dd18f", "enabled": true } ]
To fix this, change in class.trigger.js:
class.trigger.js
constructor(obj) { //this.signal = new TriggerSignal(); this.signal = new EventEmitter(); this.fired = null; }
to
constructor(obj) { Object.defineProperty(this, "signal", { value: new EventEmitter(), writable: false, enumerable: false }); Object.defineProperty(this, "fired", { value: null, writable: true, enumerable: false }); }
The text was updated successfully, but these errors were encountered:
fix OpenHausIO#339
c929d88
Successfully merging a pull request may close this issue.
In the trigger class, when you fetch scenes, you can see the properties
signal
&fired
."Hide" them with
enumarble=false
.Example:
To fix this, change in
class.trigger.js
:to
The text was updated successfully, but these errors were encountered: