mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Print ESPHome version when running commands (#4883)
This commit is contained in:
parent
35ef4aad60
commit
baa08160bb
1 changed files with 2 additions and 0 deletions
|
@ -980,6 +980,8 @@ def run_esphome(argv):
|
|||
_LOGGER.error(e, exc_info=args.verbose)
|
||||
return 1
|
||||
|
||||
safe_print(f"ESPHome {const.__version__}")
|
||||
|
||||
for conf_path in args.configuration:
|
||||
if any(os.path.basename(conf_path) == x for x in SECRETS_FILES):
|
||||
_LOGGER.warning("Skipping secrets file %s", conf_path)
|
||||
|
|
Loading…
Reference in a new issue