mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 13:00:27 +02:00
fix 24x16 and cover mix
This commit is contained in:
@@ -38,7 +38,7 @@ packages:
|
|||||||
'devices_v0_7/i2c.yaml',
|
'devices_v0_7/i2c.yaml',
|
||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.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',
|
'boards/24x16_output.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.4.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,7 +39,6 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
|
||||||
'boards/8_covers_16_output.yaml',
|
'boards/8_covers_16_output.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ firmware_destination = "../website/public/esp/firmware"
|
|||||||
def json_pattern(firmware_name):
|
def json_pattern(firmware_name):
|
||||||
return {
|
return {
|
||||||
"name": "ESPHome",
|
"name": "ESPHome",
|
||||||
"version": "2024.5.0",
|
"version": "2024.10.1",
|
||||||
"home_assistant_domain": "esphome",
|
"home_assistant_domain": "esphome",
|
||||||
"funding_url": "https://esphome.io/guides/supporters.html",
|
"funding_url": "https://esphome.io/guides/supporters.html",
|
||||||
"new_install_prompt_erase": False,
|
"new_install_prompt_erase": False,
|
||||||
@@ -56,11 +56,15 @@ for file in glob.glob("*.yaml"):
|
|||||||
print("No file found.")
|
print("No file found.")
|
||||||
break
|
break
|
||||||
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
|
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
|
||||||
print("CWD", cwd)
|
cmd = f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}'
|
||||||
subprocess.run(
|
print(cmd)
|
||||||
f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}',
|
result = subprocess.run(
|
||||||
|
cmd,
|
||||||
shell=True,
|
shell=True,
|
||||||
)
|
)
|
||||||
|
if result.returncode != 0:
|
||||||
|
print("Process failed, breaking.")
|
||||||
|
break
|
||||||
shutil.copyfile(firmware_path, f"{firmware_destination}/{filename}.bin")
|
shutil.copyfile(firmware_path, f"{firmware_destination}/{filename}.bin")
|
||||||
|
|
||||||
with open(
|
with open(
|
||||||
|
|||||||
Reference in New Issue
Block a user