We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6d19ca commit 26ce4d7Copy full SHA for 26ce4d7
1 file changed
lnetatmo.py
@@ -774,6 +774,12 @@ def getStationMinMaxTH(station=None, module=None):
774
if stdout.isatty():
775
print("lnetatmo.py : warning, no home available for testing")
776
777
+ try:
778
+ thermostat = ThermostatData(authorization)
779
+ except NoDevice:
780
+ if stdout.isatty():
781
+ print("lnetatmo.py : warning, no thermostat avaible for testing")
782
+
783
# If we reach this line, all is OK
784
785
# If launched interactively, display OK message
0 commit comments