From 5c5242264f46d646b083324b0b80d4db5681f277 Mon Sep 17 00:00:00 2001
From: Tomasz Duda <tomaszduda23@gmail.com>
Date: Fri, 2 Aug 2024 17:59:03 +0200
Subject: [PATCH] reformat

---
 esphome/__main__.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/esphome/__main__.py b/esphome/__main__.py
index 25b8fce66f..93a2ab004b 100644
--- a/esphome/__main__.py
+++ b/esphome/__main__.py
@@ -1039,13 +1039,6 @@ def run_esphome(argv):
         _LOGGER.warning("Please instead use:")
         _LOGGER.warning("   esphome %s", " ".join(args.deprecated_argv_suggestion))
 
-    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:
         try:
             return PRE_CONFIG_ACTIONS[args.command](args)