Show version in accessory infomration

This commit is contained in:
dennis committed 2023-02-04 20:32:10 +01:00
1 parent 505b8b0a4a
commit 8922e9cd80
3 files changed
+10 -3

No files matched your search

+6 -1
View File
@@ -1,3 +1,6 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const package_config = require('../package.json');
/**
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
*/
@@ -6,4 +9,6 @@ export const PLATFORM_NAME = 'MultiTapSwitch';
/**
* This must match the name of your plugin as defined the package.json
*/
export const PLUGIN_NAME = 'homebridge-multitap-switch';
export const PLUGIN_NAME = 'homebridge-multitap-switch';
export const VERSION = package_config.version;