-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb6c1a5
commit 5421d7b
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,8 @@ | |
from fritzinfluxdb.classes.fritzbox.handler import FritzBoxHandler, FritzBoxLuaHandler | ||
from fritzinfluxdb.classes.influxdb.handler import InfluxHandler, InfluxLogAndConfigWriter | ||
|
||
__version__ = "1.2.2" | ||
__version_date__ = "2024-07-13" | ||
__version__ = "1.2.3" | ||
__version_date__ = "2024-09-27" | ||
__author__ = "Ricardo Bartels <[email protected]>" | ||
__description__ = "fritzinfluxdb" | ||
__license__ = "MIT" | ||
|
@@ -118,7 +118,7 @@ def main(): | |
fritzbox_connection.connect() | ||
|
||
# Lua handler is only useful with FritzBox FW >= 7.X | ||
if fritzbox_connection.config.fw_version is not None and fritzbox_connection.config.fw_version[0] > "6": | ||
if fritzbox_connection.config.fw_version is not None and int(fritzbox_connection.config.fw_version[0]) >= 7: | ||
fritzbox_lua_connection.connect() | ||
else: | ||
log.info("Disabling queries via Lua. Fritz!OS version must be at least 7.XX") | ||
|