An attempt to extend smart home monitoring from temperatures to switch states, power values, power consumption and temperatures as a multi graph plugin.
Solved runtime error
I am experiencing runtime errors for serveral plugins because of line 40 in fritzbox_file_session.py: def load(self) -> None | str:
Might be related to a Python version below 3.10 (3.9.2 is current on Raspberry Pi OS) and can be solved by adding "": def load(self) -> "None | str":
All plugins run smoothly after this change.
[I included this in my pull request]
Line 37:
connection = FritzConnection(address=config.server, password=config.password, use_tls=config.useTls)
needs to be replaced by
connection = FritzConnection(address=config.server, user=config.user, password=config.password, use_tls=config.useTls)