We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581c049 commit d2ba4e4Copy full SHA for d2ba4e4
zwave_js_server/client.py
@@ -379,11 +379,9 @@ def _check_server_version(self, server_version: str) -> None:
379
"""Perform a basic check on the server version compatability."""
380
cur_version = parse_version(server_version)
381
min_version = parse_version(MIN_SERVER_VERSION)
382
- if (cur_version.major != min_version.major) or (
383
- cur_version.minor < min_version.minor
384
- ):
+ if cur_version < min_version:
385
raise InvalidServerVersion
386
- if cur_version.minor > min_version:
+ if cur_version != min_version:
387
self._logger.warning(
388
"Connected to a Zwave JS Server with an untested version, \
389
you may run into compatibility issues!"
0 commit comments