homebridge-lib 5.4.1 → 5.5.0
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/lib/Platform.js +6 -0
- package/package.json +1 -1
package/lib/Platform.js
CHANGED
|
@@ -116,6 +116,12 @@ class Platform extends homebridgeLib.Delegate {
|
|
|
116
116
|
|
|
117
117
|
get Characteristics () { return context.Characteristics }
|
|
118
118
|
|
|
119
|
+
/** Content of the plugin's package.json file.
|
|
120
|
+
* @type {object}
|
|
121
|
+
* @readonly
|
|
122
|
+
*/
|
|
123
|
+
get packageJson () { return context.packageJson }
|
|
124
|
+
|
|
119
125
|
/** Create a new instance of the platform plugin.
|
|
120
126
|
*
|
|
121
127
|
* Called by Homebridge when initialising the plugin from `config.json`.
|