diff --git a/esphome/const.py b/esphome/const.py index 01135d5e6f..8535e92370 100644 --- a/esphome/const.py +++ b/esphome/const.py @@ -1,6 +1,6 @@ """Constants used by esphome.""" -__version__ = "2023.2.0" +__version__ = "2023.2.1" ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_" diff --git a/esphome/writer.py b/esphome/writer.py index 7a3c13e80b..2bf665c2b2 100644 --- a/esphome/writer.py +++ b/esphome/writer.py @@ -142,7 +142,10 @@ def get_ini_content(): # Sort to avoid changing build flags order CORE.add_platformio_option("build_flags", sorted(CORE.build_flags)) - content = f"[env:{CORE.name}]\n" + content = "[platformio]\n" + content += f"description = ESPHome {__version__}\n" + + content += f"[env:{CORE.name}]\n" content += format_ini(CORE.platformio_options) return content