mirror of
https://github.com/esphome/esphome.git
synced 2025-02-15 01:31:33 +01:00
Print ESPHome version when running commands (#4883)
This commit is contained in:
parent
35ef4aad60
commit
baa08160bb
@ -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 New Issue
Block a user