Remove outdated version block (#7177)

This commit is contained in:
tomaszduda23 2024-08-06 01:40:34 +02:00 committed by GitHub
parent f737ca6e28
commit acaec41bb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -972,13 +972,6 @@ def run_esphome(argv):
args.command == "dashboard", args.command == "dashboard",
) )
if sys.version_info < (3, 8, 0):
_LOGGER.error(
"You're running ESPHome with Python <3.8. ESPHome is no longer compatible "
"with this Python version. Please reinstall ESPHome with Python 3.8+"
)
return 1
if args.command in PRE_CONFIG_ACTIONS: if args.command in PRE_CONFIG_ACTIONS:
try: try:
return PRE_CONFIG_ACTIONS[args.command](args) return PRE_CONFIG_ACTIONS[args.command](args)