Closed epheterson closed 6 years ago
It looks like we're logging 4 lines for each button press. That's maybe a little excessive, as only one is necessary and the rest is a bit redundant.
We currently print:
[2018-4-2 21:23:26] [Apple TV] Down setSwitchState: true [2018-4-2 21:23:26] [Apple TV] Down sendCommand (down) [2018-4-2 21:23:26] [Apple TV] Down setSwitchState: (automatically turn off in 0.1 seconds) [2018-4-2 21:23:26] [Apple TV] Down setSwitchState: false
Instead it should only print: [2018-4-2 21:23:26] [Apple TV] Down sendCommand (down)
[2018-4-2 21:23:26] [Apple TV] Down sendCommand (down)
The setting in config.js defines the enableAutoOff behavior, so printing on/action/timer/off is unnecessary.
enableAutoOff
You may use disableLogs if you wish, I'm not looking to go any further sorry
disableLogs
It looks like we're logging 4 lines for each button press. That's maybe a little excessive, as only one is necessary and the rest is a bit redundant.
We currently print:
Instead it should only print:
[2018-4-2 21:23:26] [Apple TV] Down sendCommand (down)
The setting in config.js defines the
enableAutoOff
behavior, so printing on/action/timer/off is unnecessary.