You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_LOGGER.warning("\033[31mNo airthings devices found. If the watchdog option is enabled, this addon will restart and try again.\033[0m")
97
97
sys.exit(1)
98
98
exceptSystemExitase:
99
99
sys.exit(e)
100
100
except:
101
-
_LOGGER.exception("Failed while searching for devices. Is a bluetooth adapter available? Exiting.")
101
+
_LOGGER.exception("\033[31mFailed while searching for devices. Is a bluetooth adapter available? If the watchdog option is enabled, this addon will restart and try again.\033[0m")
_LOGGER.exception("\033[31mError reading options.json file. If the watchdog option is enabled, this addon will restart and try again.\033[0m")
205
205
sys.exit(1)
206
206
207
207
# Fill in the remainder of the config values
@@ -297,7 +297,8 @@ def mqtt_publish(msgs):
297
297
# Publish the sensor data to mqtt broker
298
298
mqtt_publish(msgs)
299
299
else:
300
-
_LOGGER.error("No sensor values collected. Please check your configuration and make sure your bluetooth adapter is available.")
300
+
_LOGGER.error("\033[31mNo sensor values collected. Please check your configuration and make sure your bluetooth adapter is available. If the watchdog option is enabled, this addon will restart and try again.\033[0m")
0 commit comments