mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Print ESPHome version when running commands (#4883)
This commit is contained in:
parent
fb4cb07c6f
commit
7d2ae4e252
@ -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 New Issue
Block a user