mirror of
https://github.com/bourquep/mysa2mqtt.git
synced 2025-10-24 08:20:46 +00:00
feat: Expose device serial number and origin (#7)
This commit is contained in:
@@ -64,6 +64,8 @@ function parseRequiredInt(value: string) {
|
||||
return parsedValue;
|
||||
}
|
||||
|
||||
export const version = getPackageVersion();
|
||||
|
||||
const extraHelpText = `
|
||||
Copyright (c) 2025 Pascal Bourque
|
||||
Licensed under the MIT License
|
||||
@@ -72,7 +74,7 @@ Source code and documentation available at: https://github.com/bourquep/mysa2mqt
|
||||
`;
|
||||
|
||||
export const options = new Command('mysa2mqtt')
|
||||
.version(getPackageVersion())
|
||||
.version(version)
|
||||
.description('Expose Mysa smart thermostats to home automation platforms via MQTT.')
|
||||
.addHelpText('afterAll', extraHelpText)
|
||||
.addOption(
|
||||
|
||||
Reference in New Issue
Block a user