1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-31 18:20:53 +00:00

Merge pull request #4458 from esphome/bump-2023.2.2

2023.2.2
This commit is contained in:
Jesse Hills 2023-02-17 19:38:01 +13:00 committed by GitHub
commit b5927322e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 3 deletions

View File

@ -83,11 +83,30 @@ def import_config(
raise FileExistsError raise FileExistsError
if project_name == "esphome.web": if project_name == "esphome.web":
if "esp32c3" in import_url:
board = "esp32-c3-devkitm-1"
platform = "ESP32"
elif "esp32s2" in import_url:
board = "esp32-s2-saola-1"
platform = "ESP32"
elif "esp32s3" in import_url:
board = "esp32-s3-devkitc-1"
platform = "ESP32"
elif "esp32" in import_url:
board = "esp32dev"
platform = "ESP32"
elif "esp8266" in import_url:
board = "esp01_1m"
platform = "ESP8266"
elif "pico-w" in import_url:
board = "pico-w"
platform = "RP2040"
kwargs = { kwargs = {
"name": name, "name": name,
"friendly_name": friendly_name, "friendly_name": friendly_name,
"platform": "ESP32" if "esp32" in import_url else "ESP8266", "platform": platform,
"board": "esp32dev" if "esp32" in import_url else "esp01_1m", "board": board,
"ssid": "!secret wifi_ssid", "ssid": "!secret wifi_ssid",
"psk": "!secret wifi_password", "psk": "!secret wifi_password",
} }

View File

@ -1,6 +1,6 @@
"""Constants used by esphome.""" """Constants used by esphome."""
__version__ = "2023.2.1" __version__ = "2023.2.2"
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_" ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"