homebridge-deconz 0.0.15 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -81,7 +81,4 @@ Allow ample time after exposing or removing accessories for HomeKit to sync the
81
81
  ### Command-Line Utility
82
82
  Homebridge deCONZ includes the `deconz` command-line utility, to discover,
83
83
  monitor, and interact with a deCONZ gateway.
84
- For more details, issue:
85
- ```
86
- deconz --help
87
- ```
84
+ See the [`deconz` Tutorial](https://github.com/ebaauw/homebridge-deconz/wiki/%60deconz%60-Tutorial) in the Wiki for more info.
package/cli/deconz.js CHANGED
@@ -703,7 +703,7 @@ class Main extends homebridgeLib.CommandLineTool {
703
703
  const { websocketport } = await this.client.get('/config')
704
704
  options.host = this.client.host + ':' + websocketport
705
705
  this.wsMonitor = new Deconz.WsClient(options)
706
- this.setOptions({ mode: mode })
706
+ this.setOptions({ mode })
707
707
  this.wsMonitor
708
708
  .on('error', (error) => { this.error(error) })
709
709
  .on('listening', (url) => { this.log('listening on %s', url) })
@@ -813,7 +813,7 @@ class Main extends homebridgeLib.CommandLineTool {
813
813
  .parse(...args)
814
814
  const apiKey = await this.client.getApiKey('deconz')
815
815
  this.print(jsonFormatter.stringify(apiKey))
816
- this.gateways[this.bridgeid] = { apiKey: apiKey }
816
+ this.gateways[this.bridgeid] = { apiKey }
817
817
  if (this.client.fingerprint != null) {
818
818
  this.gateways[this.bridgeid].fingerprint = this.client.fingerprint
819
819
  }