Skip to content

Commit

Permalink
Ignore startup check if AppDaemon not present (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored May 26, 2024
1 parent ede695a commit 8a82908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
if not "PRED_GLOBAL" in globals():
PRED_GLOBAL = {}

THIS_VERSION = "v7.20.1"
THIS_VERSION = "v7.20.2"
PREDBAT_FILES = ["predbat.py"]
TIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z"
TIME_FORMAT_SECONDS = "%Y-%m-%dT%H:%M:%S.%f%z"
Expand Down Expand Up @@ -14936,8 +14936,8 @@ def sanity(self):
self.log("WARN: appdaemon section is missing from appdaemon.yaml")
passed = False
else:
self.log("WARN: unable to find {}".format(appdaemon_config))
passed = False
self.log("WARN: unable to find {} skipping checks as maybe outside AppDaemon".format(appdaemon_config))
return

self.log("Sanity: Scanning app_dirs: {}".format(app_dirs))
apps_yaml = []
Expand Down

0 comments on commit 8a82908

Please sign in to comment.