diff --git a/boneio-24x16_switches_v0_7.yaml b/boneio-24x16_switches_v0_7.yaml index 1386983..8e4a58e 100644 --- a/boneio-24x16_switches_v0_7.yaml +++ b/boneio-24x16_switches_v0_7.yaml @@ -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', ] diff --git a/boneio-cover_mix_lights_v0_7.yaml b/boneio-cover_mix_lights_v0_7.yaml index 38f676b..a40c2a2 100644 --- a/boneio-cover_mix_lights_v0_7.yaml +++ b/boneio-cover_mix_lights_v0_7.yaml @@ -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', ] diff --git a/create_firmware.py b/create_firmware.py index 7c25fcf..216d699 100644 --- a/create_firmware.py +++ b/create_firmware.py @@ -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(