fixes for esphome 2026.4 release

This commit is contained in:
pszafer
2026-04-16 14:16:03 +02:00
parent ad67951090
commit 20bece5e5e
6 changed files with 477 additions and 31 deletions

View File

@@ -40,7 +40,9 @@ include_files = [
GITHUB_PAGES_URL = "https://boneio-eu.github.io/esphome"
FIRMWARE_VERSION = "2026.1.2"
ESPHOME_VERSION = "2026.4.0"
ESPHOME_DOCKER_IMAGE = f"ghcr.io/esphome/esphome:{ESPHOME_VERSION}"
FIRMWARE_VERSION = ESPHOME_VERSION
def json_pattern(firmware_name, chip_family="ESP32"):
@@ -93,7 +95,7 @@ for file in glob.glob("*.yaml"):
print("No file found.")
break
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
cmd = f'docker run --rm -p 6053:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}'
cmd = f'docker run --rm -p 6053:6052 -v "{cwd}":/config -it {ESPHOME_DOCKER_IMAGE} compile {file}'
print(cmd)
result = subprocess.run(
cmd,