mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Print ESPHome version when running commands (#4883)
This commit is contained in:
parent
fb4cb07c6f
commit
7d2ae4e252
1 changed files with 2 additions and 0 deletions
|
@ -932,6 +932,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