homebridge-la-marzocco 0.1.0 → 0.1.1

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.
@@ -23,10 +23,6 @@
23
23
  "type": "string",
24
24
  "format": "password"
25
25
  },
26
- "installationKeyPath": {
27
- "title": "Installation Key Path",
28
- "type": "string"
29
- },
30
26
  "pollIntervalSeconds": {
31
27
  "title": "Polling Interval (seconds)",
32
28
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-la-marzocco",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Homebridge integration for La Marzocco espresso machines",
5
5
  "displayName": "La Marzocco",
6
6
  "main": "src/index.js",
package/src/platform.js CHANGED
@@ -39,11 +39,8 @@ class LaMarzoccoPlatform {
39
39
  }
40
40
 
41
41
  const storageRoot = this.api.user.storagePath();
42
- const defaultKeyPath = path.join(
43
- storageRoot,
44
- "lm-homebridge",
45
- "installation_key.json"
46
- );
42
+ const pluginDataDir = path.join(storageRoot, "homebridge-la-marzocco");
43
+ const defaultKeyPath = path.join(pluginDataDir, "installation_key.json");
47
44
  this.installationKeyPath =
48
45
  this.config.installationKeyPath || defaultKeyPath;
49
46
  this.ensureKeyDir();
package/src/settings.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const PLUGIN_NAME = "homebridge-lm-homebridge";
3
+ const PLUGIN_NAME = "homebridge-la-marzocco";
4
4
  const PLATFORM_NAME = "LaMarzocco";
5
5
 
6
6
  module.exports = {