Closed rabenhorst closed 8 years ago
@mactr0n Thank you. Wow, the hound cracked up. :(
I've just removed the comments, I'll investigate that later.
Anyway: The intention of this.id
instead of the general Websocket
in log messages is the plugin will be initiated multiple times (that's why this comment (still) exists. Also just now I'm not sure anymore why I've chosen a map this.deviceStates
instead of this.deviceState
.
@mactr0n Ironically, neither the hound or the test have found a more serious issue.. your index.js
has severe code duplication issue.. perhaps a local merge failed?
Really strange. I don’t know what happened. Let me just fix it.
Von: Jan Philipp notifications@github.com<mailto:notifications@github.com> Antworten an: knalli/homebridge-pilight reply@reply.github.com<mailto:reply@reply.github.com> Datum: Donnerstag, 4. Februar 2016 um 22:56 An: knalli/homebridge-pilight homebridge-pilight@noreply.github.com<mailto:homebridge-pilight@noreply.github.com> Cc: mactron sebastian.rabenhorst@rwth-aachen.de<mailto:sebastian.rabenhorst@rwth-aachen.de> Betreff: Re: [homebridge-pilight] Better Logging (#2) Neu gesendet von: sebastian.rabenhorst@rwth-aachen.de<mailto:sebastian.rabenhorst@rwth-aachen.de>
@mactr0nhttps://github.com/mactr0n Ironically, neither the hound or the test have found a more serious issue.. your index.js has severe code duplication issue.. perhaps a local merge failed?
— Reply to this email directly or view it on GitHubhttps://github.com/knalli/homebridge-pilight/pull/2#issuecomment-180069144.
It should be fixed now. Should I change the connecting message back to this.id
?
Well, I've to look at it. If it does not match, I will skip the specific lines.
Please squash your commits and rebase the new one onto the master. I've applied a configuration for the hound, should not bark so much again.
Ok im busy right now and will do the squash in renaming tomorrow
I squashed the commits and renamed lightbulbService
to switchService
.
Landed as e0166ff and 04ab067. I had to extract the commit for better diff changes, but put the credits in the text.
@mactr0n Thank you for the work.
Note: I've left the changes with the connection, this is much more better for reading.
Go for 1.1.0
I needed better logging because I had some problems with pilight. Maybe you could merge my changes into your code.