Skip to content

Commit

Permalink
feat: bump zwavejs server beta 7 and show version on ui (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 17, 2021
1 parent 2ea9944 commit bb255db
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2,834 deletions.
3 changes: 2 additions & 1 deletion lib/ZwaveClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const LogManager = require('./logger.js')
const logger = LogManager.module('Zwave')
const inherits = require('util').inherits
const loglevels = require('triple-beam').configs.npm.levels
const { ZwavejsServer } = require('@zwave-js/server')
const { ZwavejsServer, serverVersion } = require('@zwave-js/server')

const ZWAVE_STATUS = {
connected: 'connected',
Expand Down Expand Up @@ -1958,6 +1958,7 @@ ZwaveClient.prototype.getInfo = function () {
info.cntStatus = this.cntStatus
info.appVersion = utils.getVersion()
info.zwaveVersion = libVersion
info.serverVersion = serverVersion

return info
}
Expand Down
Loading

0 comments on commit bb255db

Please sign in to comment.