fix 24x16 and cover mix

This commit is contained in:
pszafer
2024-10-23 14:53:36 +02:00
parent 18d722454b
commit a86adfce01
3 changed files with 10 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ packages:
'devices_v0_7/i2c.yaml',
'devices_v0_7-v0_9/ina219.yaml',
'devices_v0_7-v0_9/lm75b.yaml',
'devices_v0_7-v0_9/pcf.yaml',
'devices_v0_7-v0_9/pcf_with_mcp.yaml',
'boards/24x16_output.yaml',
# 'devices_v0_7-v0_9/one_wire.yaml',
]

View File

@@ -30,7 +30,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.2.0
ref: v1.4.0
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',
@@ -39,7 +39,6 @@ packages:
'devices_v0_7-v0_9/ina219.yaml',
'devices_v0_7-v0_9/lm75b.yaml',
'devices_v0_7-v0_9/pcf.yaml',
'boards/32x10_output.yaml',
'boards/8_covers_16_output.yaml',
# 'devices_v0_7-v0_9/one_wire.yaml',
]

View File

@@ -21,7 +21,7 @@ firmware_destination = "../website/public/esp/firmware"
def json_pattern(firmware_name):
return {
"name": "ESPHome",
"version": "2024.5.0",
"version": "2024.10.1",
"home_assistant_domain": "esphome",
"funding_url": "https://esphome.io/guides/supporters.html",
"new_install_prompt_erase": False,
@@ -56,11 +56,15 @@ for file in glob.glob("*.yaml"):
print("No file found.")
break
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
print("CWD", cwd)
subprocess.run(
f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}',
cmd = f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}'
print(cmd)
result = subprocess.run(
cmd,
shell=True,
)
if result.returncode != 0:
print("Process failed, breaking.")
break
shutil.copyfile(firmware_path, f"{firmware_destination}/{filename}.bin")
with open(