From 11d973c5d4101d527378e78d4672e9dcb34eeb7a Mon Sep 17 00:00:00 2001 From: pszafer Date: Mon, 16 Feb 2026 12:28:32 +0100 Subject: [PATCH] fix yaml's --- .github/workflows/build-firmware.yml | 373 ++++++++++++++++-- .github/workflows/validate-firmware.yml | 54 +++ boneio-24x16_switches_v0_5-v0_6.yaml | 22 +- boneio-24x16_switches_v0_7.yaml | 20 +- boneio-32x10_lights_v0_5-v0_6.yaml | 52 +-- boneio-32x10_lights_v0_7.yaml | 50 +-- boneio-32x10_switches_v0_5-v0_6.yaml | 52 +-- boneio-32x10_switches_v0_7.yaml | 50 +-- boneio-8x10A_gen2_lights-v0_1.yaml | 4 +- boneio-cover_mix_lights_v0_5-v0_6.yaml | 52 +-- boneio-cover_mix_lights_v0_7.yaml | 50 +-- boneio-cover_mix_switches_v0_5-v0_6.yaml | 52 +-- boneio-cover_mix_switches_v0_7.yaml | 50 +-- boneio-cover_v0_5-v0_6.yaml | 52 +-- boneio-cover_v0_7.yaml | 50 +-- boneio-dimmer_2rgbw-v0_3.yaml | 10 +- boneio-dimmer_4cct-v0_3.yaml | 10 +- boneio-dimmer_8ch-v0_3.yaml | 10 +- boneio-dimmer_gen2_2rgbw-v0_1.yaml | 4 +- boneio-dimmer_gen2_4cct-v0_1.yaml | 4 +- boneio-dimmer_gen2_8ch-v0_1.yaml | 4 +- boneio-input24_gen2-v0_1.yaml | 81 ++-- create_firmware.py | 4 +- .../boneio-mosfet48_lights_v0_7.yaml | 20 +- .../boneio-mosfet48_switches_v0_7.yaml | 20 +- 25 files changed, 755 insertions(+), 395 deletions(-) create mode 100644 .github/workflows/validate-firmware.yml rename boneio-mosfet48_lights_v0_7.yaml => discontinued/boneio-mosfet48_lights_v0_7.yaml (96%) rename boneio-mosfet48_switches_v0_7.yaml => discontinued/boneio-mosfet48_switches_v0_7.yaml (96%) diff --git a/.github/workflows/build-firmware.yml b/.github/workflows/build-firmware.yml index 324880a..c1639c8 100644 --- a/.github/workflows/build-firmware.yml +++ b/.github/workflows/build-firmware.yml @@ -3,51 +3,219 @@ name: Build ESPHome Firmware on: push: tags: - - 'v*' + - "v*" workflow_dispatch: inputs: version: - description: 'Version tag (e.g., 2026.1.2)' + description: "Version tag (e.g., 2026.1.5)" required: true - default: '2026.1.2' + default: "2026.1.5" jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - # Testing with single firmware first + # Dimmer LED v0.3 + - yaml_file: boneio-dimmer_8ch-v0_3.yaml + board_name: "Dimmer LED" + board_value: "dimmer" + version: "v0.3" + version_key: "v0.3" + output_option: "8 Channels" + chip_family: "ESP32" + - yaml_file: boneio-dimmer_2rgbw-v0_3.yaml + board_name: "Dimmer LED" + board_value: "dimmer" + version: "v0.3" + version_key: "v0.3" + output_option: "2xRGBW" + chip_family: "ESP32" + - yaml_file: boneio-dimmer_4cct-v0_3.yaml + board_name: "Dimmer LED" + board_value: "dimmer" + version: "v0.3" + version_key: "v0.3" + output_option: "4 CCT" + chip_family: "ESP32" + + # Dimmer LED gen2 v0.1 - yaml_file: boneio-dimmer_gen2_8ch-v0_1.yaml - # Uncomment below after testing: - # - yaml_file: boneio-dimmer_gen2_2rgbw-v0_1.yaml - # - yaml_file: boneio-32x10_lights_v0_7.yaml - # - yaml_file: boneio-32x10_switches_v0_7.yaml - # - yaml_file: boneio-24x16_switches_v0_7.yaml - # - yaml_file: boneio-cover_v0_7.yaml - # - yaml_file: boneio-cover_mix_lights_v0_7.yaml - # - yaml_file: boneio-cover_mix_switches_v0_7.yaml - # - yaml_file: boneio-8x10A_gen2_lights-v0_1.yaml - # - yaml_file: boneio-mosfet48_lights_v0_7.yaml + board_name: "Dimmer LED gen2" + board_value: "dimmer_g2" + version: "v0.1" + version_key: "v0.1" + output_option: "8 Channels" + chip_family: "ESP32-S3" + - yaml_file: boneio-dimmer_gen2_2rgbw-v0_1.yaml + board_name: "Dimmer LED gen2" + board_value: "dimmer_g2" + version: "v0.1" + version_key: "v0.1" + output_option: "2xRGBW" + chip_family: "ESP32-S3" + - yaml_file: boneio-dimmer_gen2_4cct-v0_1.yaml + board_name: "Dimmer LED gen2" + board_value: "dimmer_g2" + version: "v0.1" + version_key: "v0.1" + output_option: "4 CCT" + chip_family: "ESP32-S3" + + # Input24 gen2 + - yaml_file: boneio-input24_gen2-v0_1.yaml + board_name: "boneIO ESP Input24 gen2" + board_value: "input24" + version: "v0.1" + version_key: "v0.1" + output_option: "None" + chip_family: "ESP32-S3" + + # 8x10A gen2 + - yaml_file: boneio-8x10A_gen2_lights-v0_1.yaml + board_name: "boneIO ESP 8x10A gen2" + board_value: "8x10A" + version: "v0.1" + version_key: "v0.1" + output_option: "Lights" + chip_family: "ESP32-S3" + + # 32x10 v0.7 + - yaml_file: boneio-32x10_lights_v0_7.yaml + board_name: "boneIO ESP 32x10" + board_value: "32x10" + version: "v0.7 PP" + version_key: "v0.7" + output_option: "Lights" + chip_family: "ESP32" + - yaml_file: boneio-32x10_switches_v0_7.yaml + board_name: "boneIO ESP 32x10" + board_value: "32x10" + version: "v0.7 PP" + version_key: "v0.7" + output_option: "Switches" + chip_family: "ESP32" + + # 32x10 v0.6 + - yaml_file: boneio-32x10_lights_v0_5-v0_6.yaml + board_name: "boneIO ESP 32x10" + board_value: "32x10" + version: "v0.5/v0.6 PP" + version_key: "v0.6" + output_option: "Lights" + chip_family: "ESP32" + - yaml_file: boneio-32x10_switches_v0_5-v0_6.yaml + board_name: "boneIO ESP 32x10" + board_value: "32x10" + version: "v0.5/v0.6 PP" + version_key: "v0.6" + output_option: "Switches" + chip_family: "ESP32" + + # 24x16 + - yaml_file: boneio-24x16_switches_v0_7.yaml + board_name: "boneIO ESP 24x16" + board_value: "24x16" + version: "v0.7 MP" + version_key: "v0.7" + output_option: "Switches" + chip_family: "ESP32" + - yaml_file: boneio-24x16_switches_v0_5-v0_6.yaml + board_name: "boneIO ESP 24x16" + board_value: "24x16" + version: "v0.5/v0.6 MP" + version_key: "v0.6" + output_option: "Switches" + chip_family: "ESP32" + + # Cover + - yaml_file: boneio-cover_v0_7.yaml + board_name: "boneIO ESP Cover" + board_value: "cover" + version: "v0.7 PP" + version_key: "v0.7" + output_option: "" + chip_family: "ESP32" + - yaml_file: boneio-cover_v0_5-v0_6.yaml + board_name: "boneIO ESP Cover" + board_value: "cover" + version: "v0.5/v0.6 PP" + version_key: "v0.6" + output_option: "" + chip_family: "ESP32" + + # Cover Mix + - yaml_file: boneio-cover_mix_lights_v0_7.yaml + board_name: "boneIO ESP Cover Mix" + board_value: "mix" + version: "v0.7 PP" + version_key: "v0.7" + output_option: "Lights" + chip_family: "ESP32" + - yaml_file: boneio-cover_mix_switches_v0_7.yaml + board_name: "boneIO ESP Cover Mix" + board_value: "mix" + version: "v0.7 PP" + version_key: "v0.7" + output_option: "Switches" + chip_family: "ESP32" + - yaml_file: boneio-cover_mix_lights_v0_5-v0_6.yaml + board_name: "boneIO ESP Cover Mix" + board_value: "mix" + version: "v0.5/v0.6 PP" + version_key: "v0.6" + output_option: "Lights" + chip_family: "ESP32" + - yaml_file: boneio-cover_mix_switches_v0_5-v0_6.yaml + board_name: "boneIO ESP Cover Mix" + board_value: "mix" + version: "v0.5/v0.6 PP" + version_key: "v0.6" + output_option: "Switches" + chip_family: "ESP32" steps: - name: Checkout repository uses: actions/checkout@v4 - name: Build firmware - uses: esphome/build-action@v4 + uses: esphome/build-action@v7 id: esphome-build with: yaml-file: ${{ matrix.yaml_file }} version: latest complete-manifest: true + - name: Save build metadata + run: | + mkdir -p metadata + cat > metadata/${{ steps.esphome-build.outputs.original-name }}.json << 'METADATA_EOF' + { + "firmware_name": "${{ steps.esphome-build.outputs.original-name }}", + "yaml_file": "${{ matrix.yaml_file }}", + "board_name": "${{ matrix.board_name }}", + "board_value": "${{ matrix.board_value }}", + "version": "${{ matrix.version }}", + "version_key": "${{ matrix.version_key }}", + "output_option": "${{ matrix.output_option }}", + "chip_family": "${{ matrix.chip_family }}" + } + METADATA_EOF + - name: Upload firmware artifact uses: actions/upload-artifact@v4 with: name: firmware-${{ steps.esphome-build.outputs.original-name }} path: ${{ steps.esphome-build.outputs.name }} + - name: Upload metadata artifact + uses: actions/upload-artifact@v4 + with: + name: metadata-${{ steps.esphome-build.outputs.original-name }} + path: metadata/ + deploy: needs: build runs-on: ubuntu-latest @@ -64,6 +232,13 @@ jobs: pattern: firmware-* merge-multiple: true + - name: Download metadata artifacts + uses: actions/download-artifact@v4 + with: + path: metadata + pattern: metadata-* + merge-multiple: true + - name: Get version id: version run: | @@ -75,32 +250,166 @@ jobs: - name: Prepare GitHub Pages content run: | - mkdir -p gh-pages/firmware - - # esphome/build-action outputs: name/, name/manifest.json, name/*.bin - for dir in artifacts/*/; do - NAME=$(basename "$dir") - # Copy firmware binary - cp "$dir"*.bin gh-pages/firmware/ - # Copy manifest and rename to firmware name - cp "$dir"manifest.json gh-pages/${NAME}.json + mkdir -p gh-pages/firmware gh-pages/manifests release + export VERSION="${{ steps.version.outputs.version }}" + export BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") + export GITHUB_PAGES_URL="https://boneio-eu.github.io/esphome" + + # Debug: show artifact structure + echo "=== Artifacts structure ===" + find artifacts/ -type f | head -80 + echo "=== End artifacts ===" + + # Copy and rename firmware binaries + # esphome/build-action outputs: name-chip/name-chip.factory.bin and name-chip.ota.bin + for factory_bin in $(find artifacts/ -name '*.factory.bin'); do + BASENAME=$(basename "$factory_bin") + # Remove .factory from name: boneio-dr-8ch-03-esp32.factory.bin -> boneio-dr-8ch-03-esp32.bin + SIMPLE_NAME="${BASENAME/.factory.bin/.bin}" + cp "$factory_bin" "gh-pages/firmware/${SIMPLE_NAME}" + echo " Copied to gh-pages/firmware/${SIMPLE_NAME}" done - + + # Copy all binaries (factory + ota) to release folder for GitHub Release + find artifacts/ -name '*.factory.bin' -exec cp {} release/ \; + find artifacts/ -name '*.ota.bin' -exec cp {} release/ \; + echo "=== Release files ===" + ls -la release/ + echo "=== End release ===" + + # Generate manifest JSONs + firmware-catalog.json from metadata + python3 << 'PYTHON_EOF' + import json + import glob + import os + + version = os.environ.get("VERSION", "unknown") + build_date = os.environ.get("BUILD_DATE", "unknown") + github_pages_url = os.environ.get("GITHUB_PAGES_URL", "") + + # Read all metadata files + builds = [] + for meta_file in glob.glob("metadata/*.json"): + with open(meta_file) as f: + builds.append(json.load(f)) + + # Discover actual firmware files on gh-pages to map metadata -> binary + fw_files = {} + for f in glob.glob("gh-pages/firmware/*.bin"): + fw_files[os.path.basename(f)] = f + + print(f"Found {len(fw_files)} firmware files: {list(fw_files.keys())}") + + # Generate individual ESP Web Tools manifests + for build in builds: + fw_name = build["firmware_name"] + chip = build["chip_family"] + chip_suffix = chip.lower().replace("-", "") # ESP32-S3 -> esp32s3 + + # Find matching binary file + bin_filename = f"{fw_name}-{chip_suffix}.bin" + if bin_filename not in fw_files: + # Fallback: try without chip suffix + bin_filename = f"{fw_name}.bin" + if bin_filename not in fw_files: + print(f" WARNING: No binary found for {fw_name} (tried {fw_name}-{chip_suffix}.bin)") + # List candidates + candidates = [k for k in fw_files if fw_name in k] + if candidates: + bin_filename = candidates[0] + print(f" Using candidate: {bin_filename}") + else: + continue + + manifest = { + "name": f'{build["board_name"]} {build["output_option"]} {build["version"]}'.strip(), + "version": version, + "builds": [ + { + "chipFamily": chip, + "parts": [ + { + "path": f'{github_pages_url}/firmware/{bin_filename}', + "offset": 0 + } + ] + } + ] + } + manifest_path = f'gh-pages/manifests/{fw_name}.json' + with open(manifest_path, 'w') as f: + json.dump(manifest, f, indent=2) + print(f' Generated manifest: {fw_name}.json -> {bin_filename}') + + # Group by board for catalog + boards_map = {} + for build in builds: + board_value = build["board_value"] + if board_value not in boards_map: + boards_map[board_value] = { + "name": build["board_name"], + "value": board_value, + "versions_map": {} + } + + version_key = build["version_key"] + if version_key not in boards_map[board_value]["versions_map"]: + boards_map[board_value]["versions_map"][version_key] = { + "version": build["version"], + "versionKey": version_key, + "options": [] + } + + manifest_url = f'{github_pages_url}/manifests/{build["firmware_name"]}.json' + yaml_url = f'https://github.com/boneIO-eu/esphome/blob/main/{build["yaml_file"]}' + + option = { + "name": build["output_option"] if build["output_option"] else "Standard", + "manifest_url": manifest_url, + "yaml_url": yaml_url + } + boards_map[board_value]["versions_map"][version_key]["options"].append(option) + + # Convert to final structure + boards = [] + for board_value, board_data in boards_map.items(): + versions = list(board_data["versions_map"].values()) + boards.append({ + "name": board_data["name"], + "value": board_data["value"], + "versions": versions + }) + + catalog = { + "version": version, + "build_date": build_date, + "boards": boards + } + + with open("gh-pages/firmware-catalog.json", "w") as f: + json.dump(catalog, f, indent=2) + + print(f"Generated firmware-catalog.json with {len(boards)} boards") + print(f"Generated {len(builds)} manifest files") + PYTHON_EOF + # Create version file - echo "${{ steps.version.outputs.version }}" > gh-pages/version.txt - - # Create index with firmware list + echo "$VERSION" > gh-pages/version.txt + + # Create index page cat > gh-pages/index.html << 'EOF' boneIO Firmware

boneIO ESPHome Firmware

+

Firmware Catalog (JSON API)

+

Manifests

@@ -120,5 +429,5 @@ jobs: with: tag_name: v${{ steps.version.outputs.version }} name: Firmware v${{ steps.version.outputs.version }} - files: gh-pages/firmware/*.bin + files: release/* generate_release_notes: true diff --git a/.github/workflows/validate-firmware.yml b/.github/workflows/validate-firmware.yml new file mode 100644 index 0000000..f3def06 --- /dev/null +++ b/.github/workflows/validate-firmware.yml @@ -0,0 +1,54 @@ +name: Validate ESPHome Configs + +on: + push: + branches: [main] + paths: + - "boneio-*.yaml" + - "packages/**" + pull_request: + paths: + - "boneio-*.yaml" + - "packages/**" + +jobs: + validate-urls: + name: Validate package_import_url + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Check package_import_url consistency + run: | + ERRORS=0 + for FILE in boneio-*.yaml; do + BASENAME=$(basename "$FILE") + + # Check package_import_url + URL=$(grep 'package_import_url:' "$FILE" 2>/dev/null | awk '{print $2}' | tr -d "'\"") + if [ -z "$URL" ]; then + echo "::warning::No package_import_url found in $FILE" + continue + fi + + # Extract filename from URL (format: github://org/repo/path/file.yaml@ref) + URL_FILE=$(echo "$URL" | sed 's|.*esphome/||' | sed 's|@.*||') + + if [ "$URL_FILE" != "$BASENAME" ]; then + echo "::error file=$FILE::package_import_url mismatch: URL references '$URL_FILE' but file is '$BASENAME'" + ERRORS=$((ERRORS + 1)) + fi + + # Check for double extensions + if echo "$URL" | grep -q '\.yaml\.yaml'; then + echo "::error file=$FILE::Double .yaml.yaml extension in package_import_url" + ERRORS=$((ERRORS + 1)) + fi + done + + if [ $ERRORS -gt 0 ]; then + echo "" + echo "Found $ERRORS error(s) in package_import_url validation" + exit 1 + fi + echo "All package_import_url checks passed!" diff --git a/boneio-24x16_switches_v0_5-v0_6.yaml b/boneio-24x16_switches_v0_5-v0_6.yaml index 79d85d3..673dcb6 100644 --- a/boneio-24x16_switches_v0_5-v0_6.yaml +++ b/boneio-24x16_switches_v0_5-v0_6.yaml @@ -34,18 +34,18 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf_with_mcp.yaml', - 'boards/24x16_output.yaml', - # 'devices_v0_5-v0_6/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf_with_mcp.yaml', + 'packages/boards/24x16_output.yaml', + # 'packages/devices_v0_5-v0_6/one_wire.yaml', ] logger: diff --git a/boneio-24x16_switches_v0_7.yaml b/boneio-24x16_switches_v0_7.yaml index aaa39b6..b637c35 100644 --- a/boneio-24x16_switches_v0_7.yaml +++ b/boneio-24x16_switches_v0_7.yaml @@ -34,17 +34,17 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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_with_mcp.yaml', - 'boards/24x16_output.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf_with_mcp.yaml', + 'packages/boards/24x16_output.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-32x10_lights_v0_5-v0_6.yaml b/boneio-32x10_lights_v0_5-v0_6.yaml index 779f4bd..e4d9d72 100644 --- a/boneio-32x10_lights_v0_5-v0_6.yaml +++ b/boneio-32x10_lights_v0_5-v0_6.yaml @@ -34,33 +34,33 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf.yaml', - 'boards/output/out01_02.yaml', - 'boards/output/out03_04.yaml', - 'boards/output/out05_06.yaml', - 'boards/output/out07_08.yaml', - 'boards/output/out09_10.yaml', - 'boards/output/out11_12.yaml', - 'boards/output/out13_14.yaml', - 'boards/output/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_5-v0_6/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf.yaml', + 'packages/boards/output/out01_02.yaml', + 'packages/boards/output/out03_04.yaml', + 'packages/boards/output/out05_06.yaml', + 'packages/boards/output/out07_08.yaml', + 'packages/boards/output/out09_10.yaml', + 'packages/boards/output/out11_12.yaml', + 'packages/boards/output/out13_14.yaml', + 'packages/boards/output/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_5-v0_6/one_wire.yaml', ] logger: diff --git a/boneio-32x10_lights_v0_7.yaml b/boneio-32x10_lights_v0_7.yaml index 40b0cda..425e69d 100644 --- a/boneio-32x10_lights_v0_7.yaml +++ b/boneio-32x10_lights_v0_7.yaml @@ -34,32 +34,32 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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', - 'boards/output/out01_02.yaml', - 'boards/output/out03_04.yaml', - 'boards/output/out05_06.yaml', - 'boards/output/out07_08.yaml', - 'boards/output/out09_10.yaml', - 'boards/output/out11_12.yaml', - 'boards/output/out13_14.yaml', - 'boards/output/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf.yaml', + 'packages/boards/output/out01_02.yaml', + 'packages/boards/output/out03_04.yaml', + 'packages/boards/output/out05_06.yaml', + 'packages/boards/output/out07_08.yaml', + 'packages/boards/output/out09_10.yaml', + 'packages/boards/output/out11_12.yaml', + 'packages/boards/output/out13_14.yaml', + 'packages/boards/output/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-32x10_switches_v0_5-v0_6.yaml b/boneio-32x10_switches_v0_5-v0_6.yaml index 8f4a29c..ef37353 100644 --- a/boneio-32x10_switches_v0_5-v0_6.yaml +++ b/boneio-32x10_switches_v0_5-v0_6.yaml @@ -34,33 +34,33 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf.yaml', - 'boards/output/out01_02.yaml', - 'boards/output/out03_04.yaml', - 'boards/output/out05_06.yaml', - 'boards/output/out07_08.yaml', - 'boards/output/out09_10.yaml', - 'boards/output/out11_12.yaml', - 'boards/output/out13_14.yaml', - 'boards/output/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_5-v0_6/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf.yaml', + 'packages/boards/output/out01_02.yaml', + 'packages/boards/output/out03_04.yaml', + 'packages/boards/output/out05_06.yaml', + 'packages/boards/output/out07_08.yaml', + 'packages/boards/output/out09_10.yaml', + 'packages/boards/output/out11_12.yaml', + 'packages/boards/output/out13_14.yaml', + 'packages/boards/output/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_5-v0_6/one_wire.yaml', ] logger: diff --git a/boneio-32x10_switches_v0_7.yaml b/boneio-32x10_switches_v0_7.yaml index 799a74d..640127f 100644 --- a/boneio-32x10_switches_v0_7.yaml +++ b/boneio-32x10_switches_v0_7.yaml @@ -40,32 +40,32 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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', - 'boards/output/out01_02.yaml', - 'boards/output/out03_04.yaml', - 'boards/output/out05_06.yaml', - 'boards/output/out07_08.yaml', - 'boards/output/out09_10.yaml', - 'boards/output/out11_12.yaml', - 'boards/output/out13_14.yaml', - 'boards/output/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf.yaml', + 'packages/boards/output/out01_02.yaml', + 'packages/boards/output/out03_04.yaml', + 'packages/boards/output/out05_06.yaml', + 'packages/boards/output/out07_08.yaml', + 'packages/boards/output/out09_10.yaml', + 'packages/boards/output/out11_12.yaml', + 'packages/boards/output/out13_14.yaml', + 'packages/boards/output/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-8x10A_gen2_lights-v0_1.yaml b/boneio-8x10A_gen2_lights-v0_1.yaml index 0e6002e..0202dce 100644 --- a/boneio-8x10A_gen2_lights-v0_1.yaml +++ b/boneio-8x10A_gen2_lights-v0_1.yaml @@ -98,9 +98,9 @@ output: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', + 'packages/devices/serial_no.yaml', ] # boneiopackages: # url: https://github.com/boneIO-eu/esphome_packages diff --git a/boneio-cover_mix_lights_v0_5-v0_6.yaml b/boneio-cover_mix_lights_v0_5-v0_6.yaml index 114550e..f6f8607 100644 --- a/boneio-cover_mix_lights_v0_5-v0_6.yaml +++ b/boneio-cover_mix_lights_v0_5-v0_6.yaml @@ -34,33 +34,33 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf.yaml', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_5-v0_6/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_5-v0_6/one_wire.yaml', ] logger: diff --git a/boneio-cover_mix_lights_v0_7.yaml b/boneio-cover_mix_lights_v0_7.yaml index ed67817..9886f38 100644 --- a/boneio-cover_mix_lights_v0_7.yaml +++ b/boneio-cover_mix_lights_v0_7.yaml @@ -34,32 +34,32 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-cover_mix_switches_v0_5-v0_6.yaml b/boneio-cover_mix_switches_v0_5-v0_6.yaml index 5f31ecc..ac5e532 100644 --- a/boneio-cover_mix_switches_v0_5-v0_6.yaml +++ b/boneio-cover_mix_switches_v0_5-v0_6.yaml @@ -34,33 +34,33 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf.yaml', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_7/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_7/one_wire.yaml', ] logger: diff --git a/boneio-cover_mix_switches_v0_7.yaml b/boneio-cover_mix_switches_v0_7.yaml index b82c168..67c5a78 100644 --- a/boneio-cover_mix_switches_v0_7.yaml +++ b/boneio-cover_mix_switches_v0_7.yaml @@ -34,32 +34,32 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/output/out17_18.yaml', - 'boards/output/out19_20.yaml', - 'boards/output/out21_22.yaml', - 'boards/output/out23_24.yaml', - 'boards/output/out25_26.yaml', - 'boards/output/out27_28.yaml', - 'boards/output/out29_30.yaml', - 'boards/output/out31_32.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/output/out17_18.yaml', + 'packages/boards/output/out19_20.yaml', + 'packages/boards/output/out21_22.yaml', + 'packages/boards/output/out23_24.yaml', + 'packages/boards/output/out25_26.yaml', + 'packages/boards/output/out27_28.yaml', + 'packages/boards/output/out29_30.yaml', + 'packages/boards/output/out31_32.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-cover_v0_5-v0_6.yaml b/boneio-cover_v0_5-v0_6.yaml index a5bd7c3..a244862 100644 --- a/boneio-cover_v0_5-v0_6.yaml +++ b/boneio-cover_v0_5-v0_6.yaml @@ -34,33 +34,33 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_5-v0_6/display.yaml', - 'devices_v0_5-v0_6/time.yaml', - 'devices_v0_5-v0_6/i2c.yaml', - 'devices_v0_5-v0_6/ina219.yaml', - 'devices_v0_5-v0_6/lm75b.yaml', - 'devices_v0_5-v0_6/pcf.yaml', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/cover/out17_18.yaml', - 'boards/cover/out19_20.yaml', - 'boards/cover/out21_22.yaml', - 'boards/cover/out23_24.yaml', - 'boards/cover/out25_26.yaml', - 'boards/cover/out27_28.yaml', - 'boards/cover/out29_30.yaml', - 'boards/cover/out31_32.yaml', - # 'devices_v0_5-v0_6/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_5-v0_6/display.yaml', + 'packages/devices_v0_5-v0_6/time.yaml', + 'packages/devices_v0_5-v0_6/i2c.yaml', + 'packages/devices_v0_5-v0_6/ina219.yaml', + 'packages/devices_v0_5-v0_6/lm75b.yaml', + 'packages/devices_v0_5-v0_6/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/cover/out17_18.yaml', + 'packages/boards/cover/out19_20.yaml', + 'packages/boards/cover/out21_22.yaml', + 'packages/boards/cover/out23_24.yaml', + 'packages/boards/cover/out25_26.yaml', + 'packages/boards/cover/out27_28.yaml', + 'packages/boards/cover/out29_30.yaml', + 'packages/boards/cover/out31_32.yaml', + # 'packages/devices_v0_5-v0_6/one_wire.yaml', ] logger: diff --git a/boneio-cover_v0_7.yaml b/boneio-cover_v0_7.yaml index 8d9f644..889a648 100644 --- a/boneio-cover_v0_7.yaml +++ b/boneio-cover_v0_7.yaml @@ -34,32 +34,32 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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', - 'boards/cover/out01_02.yaml', - 'boards/cover/out03_04.yaml', - 'boards/cover/out05_06.yaml', - 'boards/cover/out07_08.yaml', - 'boards/cover/out09_10.yaml', - 'boards/cover/out11_12.yaml', - 'boards/cover/out13_14.yaml', - 'boards/cover/out15_16.yaml', - 'boards/cover/out17_18.yaml', - 'boards/cover/out19_20.yaml', - 'boards/cover/out21_22.yaml', - 'boards/cover/out23_24.yaml', - 'boards/cover/out25_26.yaml', - 'boards/cover/out27_28.yaml', - 'boards/cover/out29_30.yaml', - 'boards/cover/out31_32.yaml', - # 'devices_v0_7-v0_9/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf.yaml', + 'packages/boards/cover/out01_02.yaml', + 'packages/boards/cover/out03_04.yaml', + 'packages/boards/cover/out05_06.yaml', + 'packages/boards/cover/out07_08.yaml', + 'packages/boards/cover/out09_10.yaml', + 'packages/boards/cover/out11_12.yaml', + 'packages/boards/cover/out13_14.yaml', + 'packages/boards/cover/out15_16.yaml', + 'packages/boards/cover/out17_18.yaml', + 'packages/boards/cover/out19_20.yaml', + 'packages/boards/cover/out21_22.yaml', + 'packages/boards/cover/out23_24.yaml', + 'packages/boards/cover/out25_26.yaml', + 'packages/boards/cover/out27_28.yaml', + 'packages/boards/cover/out29_30.yaml', + 'packages/boards/cover/out31_32.yaml', + # 'packages/devices_v0_7-v0_9/one_wire.yaml', ] logger: diff --git a/boneio-dimmer_2rgbw-v0_3.yaml b/boneio-dimmer_2rgbw-v0_3.yaml index 5ab2eda..dba3914 100644 --- a/boneio-dimmer_2rgbw-v0_3.yaml +++ b/boneio-dimmer_2rgbw-v0_3.yaml @@ -23,13 +23,13 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', - 'devices/dimmer_i2c.yaml', - 'devices/dimmer_ina219.yaml', - 'boards/dimmer_output.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices/dimmer_i2c.yaml', + 'packages/devices/dimmer_ina219.yaml', + 'packages/boards/dimmer_output.yaml', ] ethernet: diff --git a/boneio-dimmer_4cct-v0_3.yaml b/boneio-dimmer_4cct-v0_3.yaml index 97e448f..106b22a 100644 --- a/boneio-dimmer_4cct-v0_3.yaml +++ b/boneio-dimmer_4cct-v0_3.yaml @@ -23,13 +23,13 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', - 'devices/dimmer_i2c.yaml', - 'devices/dimmer_ina219.yaml', - 'boards/dimmer_output.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices/dimmer_i2c.yaml', + 'packages/devices/dimmer_ina219.yaml', + 'packages/boards/dimmer_output.yaml', ] ethernet: diff --git a/boneio-dimmer_8ch-v0_3.yaml b/boneio-dimmer_8ch-v0_3.yaml index fb3b47a..fcaffdc 100644 --- a/boneio-dimmer_8ch-v0_3.yaml +++ b/boneio-dimmer_8ch-v0_3.yaml @@ -23,13 +23,13 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', - 'devices/dimmer_i2c.yaml', - 'devices/dimmer_ina219.yaml', - 'boards/dimmer_output.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices/dimmer_i2c.yaml', + 'packages/devices/dimmer_ina219.yaml', + 'packages/boards/dimmer_output.yaml', ] ethernet: diff --git a/boneio-dimmer_gen2_2rgbw-v0_1.yaml b/boneio-dimmer_gen2_2rgbw-v0_1.yaml index 48181ce..8737907 100644 --- a/boneio-dimmer_gen2_2rgbw-v0_1.yaml +++ b/boneio-dimmer_gen2_2rgbw-v0_1.yaml @@ -106,9 +106,9 @@ output: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', + 'packages/devices/serial_no.yaml', ] # boneiopackages: # url: https://github.com/boneIO-eu/esphome_packages diff --git a/boneio-dimmer_gen2_4cct-v0_1.yaml b/boneio-dimmer_gen2_4cct-v0_1.yaml index ed49f96..3f2be97 100644 --- a/boneio-dimmer_gen2_4cct-v0_1.yaml +++ b/boneio-dimmer_gen2_4cct-v0_1.yaml @@ -106,9 +106,9 @@ output: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', + 'packages/devices/serial_no.yaml', ] # boneiopackages: # url: https://github.com/boneIO-eu/esphome_packages diff --git a/boneio-dimmer_gen2_8ch-v0_1.yaml b/boneio-dimmer_gen2_8ch-v0_1.yaml index d245615..3be031a 100644 --- a/boneio-dimmer_gen2_8ch-v0_1.yaml +++ b/boneio-dimmer_gen2_8ch-v0_1.yaml @@ -106,9 +106,9 @@ output: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/serial_no.yaml', + 'packages/devices/serial_no.yaml', ] # boneiopackages: # url: https://github.com/boneIO-eu/esphome_packages diff --git a/boneio-input24_gen2-v0_1.yaml b/boneio-input24_gen2-v0_1.yaml index ca70835..6201bd3 100644 --- a/boneio-input24_gen2-v0_1.yaml +++ b/boneio-input24_gen2-v0_1.yaml @@ -1,22 +1,22 @@ substitutions: name: boneio-input24-gen2-01 - friendly_name: 'boneIO ESP Input24 Gen2' - serial_prefix: 'esp24' #Don't change it. - firmware_manifest: 'https://boneio.eu/fwesp/boneio-input24-gen2-01.json' + friendly_name: "boneIO ESP Input24 Gen2" + serial_prefix: "esp24" #Don't change it. + firmware_manifest: "https://boneio.eu/fwesp/boneio-input24-gen2-01.json" esphome: - name: '${name}' - friendly_name: '${friendly_name}' + name: "${name}" + friendly_name: "${friendly_name}" name_add_mac_suffix: true project: name: boneio.input24-gen2 - version: '0.1' + version: "0.1" on_boot: priority: -100 then: - delay: 5s - if: condition: - lambda: 'return id(serial_no) != nullptr;' + lambda: "return id(serial_no) != nullptr;" then: - component.update: serial_no - logger.log: "Serial No updated on boot" @@ -25,7 +25,7 @@ esphome: esp32: board: esp32-s3-devkitc-1 - framework: + framework: type: esp-idf ethernet: @@ -45,7 +45,6 @@ i2c: scan: True frequency: 400kHz - # CAN gpio48 - tx, gpio47 rx, gpio35 stb # uart: # id: boneio_uart @@ -61,10 +60,8 @@ i2c: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 - files: [ - 'devices/serial_no.yaml', - ] + ref: packages-v2.0.0 + files: ["packages/devices/serial_no.yaml"] # boneiopackages: # url: https://github.com/boneIO-eu/esphome_packages # ref: main @@ -73,7 +70,7 @@ packages: # - path: sdm630.yaml dashboard_import: - package_import_url: github://boneIO-eu/esphome/boneio-input24_gen2-v0_1.yaml.yaml@latest + package_import_url: github://boneIO-eu/esphome/boneio-input24_gen2-v0_1.yaml@latest import_full_config: true pcf8574: @@ -99,7 +96,7 @@ web_server: sensor: - platform: lm75b id: boneIO_temp - name: 'Temperature' + name: "Temperature" update_interval: 30s entity_category: diagnostic on_value_range: @@ -113,7 +110,7 @@ sensor: switch: - platform: gpio id: buzzer - name: 'Buzzer' + name: "Buzzer" pin: number: GPIO9 mode: @@ -121,7 +118,7 @@ switch: inverted: false - platform: gpio id: can_bus_switch - name: 'CAN Bus Switch' + name: "CAN Bus Switch" pin: number: GPIO35 mode: @@ -130,7 +127,7 @@ switch: binary_sensor: - platform: gpio - name: 'IN_01' + name: "IN_01" id: in_01 pin: pcf8574: pcf_inputs_1_to_8 @@ -140,7 +137,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_02' + name: "IN_02" id: in_02 pin: pcf8574: pcf_inputs_1_to_8 @@ -150,7 +147,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_03' + name: "IN_03" id: in_03 pin: pcf8574: pcf_inputs_1_to_8 @@ -160,7 +157,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_04' + name: "IN_04" id: in_04 pin: pcf8574: pcf_inputs_1_to_8 @@ -170,7 +167,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_05' + name: "IN_05" id: in_05 pin: pcf8574: pcf_inputs_1_to_8 @@ -180,7 +177,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_06' + name: "IN_06" id: in_06 pin: pcf8574: pcf_inputs_1_to_8 @@ -190,7 +187,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_07' + name: "IN_07" id: in_07 pin: pcf8574: pcf_inputs_1_to_8 @@ -200,7 +197,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_08' + name: "IN_08" id: in_08 pin: pcf8574: pcf_inputs_1_to_8 @@ -210,7 +207,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_09' + name: "IN_09" id: in_09 pin: pcf8574: pcf_inputs_9_to_24 @@ -220,7 +217,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_10' + name: "IN_10" id: in_10 pin: pcf8574: pcf_inputs_9_to_24 @@ -230,7 +227,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_11' + name: "IN_11" id: in_11 pin: pcf8574: pcf_inputs_9_to_24 @@ -240,7 +237,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_12' + name: "IN_12" id: in_12 pin: pcf8574: pcf_inputs_9_to_24 @@ -250,7 +247,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_13' + name: "IN_13" id: in_13 pin: pcf8574: pcf_inputs_9_to_24 @@ -260,7 +257,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_14' + name: "IN_14" id: in_14 pin: pcf8574: pcf_inputs_9_to_24 @@ -270,7 +267,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_15' + name: "IN_15" id: in_15 pin: pcf8574: pcf_inputs_9_to_24 @@ -280,7 +277,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_16' + name: "IN_16" id: in_16 pin: pcf8574: pcf_inputs_9_to_24 @@ -290,7 +287,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_17' + name: "IN_17" id: in_17 pin: pcf8574: pcf_inputs_9_to_24 @@ -300,7 +297,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_18' + name: "IN_18" id: in_18 pin: pcf8574: pcf_inputs_9_to_24 @@ -310,7 +307,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_19' + name: "IN_19" id: in_19 pin: pcf8574: pcf_inputs_9_to_24 @@ -320,7 +317,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_20' + name: "IN_20" id: in_20 pin: pcf8574: pcf_inputs_9_to_24 @@ -330,7 +327,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_21' + name: "IN_21" id: in_21 pin: pcf8574: pcf_inputs_9_to_24 @@ -340,7 +337,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_22' + name: "IN_22" id: in_22 pin: pcf8574: pcf_inputs_9_to_24 @@ -350,7 +347,7 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_23' + name: "IN_23" id: in_23 pin: pcf8574: pcf_inputs_9_to_24 @@ -360,11 +357,11 @@ binary_sensor: inverted: true - platform: gpio - name: 'IN_24' + name: "IN_24" id: in_24 pin: pcf8574: pcf_inputs_9_to_24 number: 8 mode: input: true - inverted: true \ No newline at end of file + inverted: true diff --git a/create_firmware.py b/create_firmware.py index 47ea1f8..3cdacc1 100644 --- a/create_firmware.py +++ b/create_firmware.py @@ -26,13 +26,13 @@ exclude_files = [ "boneio-mosfet48_lights_v0_7.yaml", "boneio-mosfet48_switches_v0_7.yaml" "boneio-8x10A_v0_1.yaml" - "boneio-dimmer_gen2_8ch-dev0_4.yaml" + "boneio-dimmer_gen2_8ch-dev0_4.yaml", # Dodaj tutaj kolejne pliki do wykluczenia ] include_files = [ - "boneio-input24_gen2-v0_01.yaml", + "boneio-input24_gen2-v0_1.yaml", # "boneio-8x10A_gen2_lights-v0_1.yaml", # "boneio-dimmer_gen2_2rgbw-v0_1.yaml", # "boneio-dimmer_gen2_8ch-v0_1" diff --git a/boneio-mosfet48_lights_v0_7.yaml b/discontinued/boneio-mosfet48_lights_v0_7.yaml similarity index 96% rename from boneio-mosfet48_lights_v0_7.yaml rename to discontinued/boneio-mosfet48_lights_v0_7.yaml index aecb4aa..713f616 100644 --- a/boneio-mosfet48_lights_v0_7.yaml +++ b/discontinued/boneio-mosfet48_lights_v0_7.yaml @@ -34,17 +34,17 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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_mosfet.yaml', - 'boards/mosfet48_output.yaml', - # 'devices_v0_7/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf_mosfet.yaml', + 'packages/boards/mosfet48_output.yaml', + # 'packages/devices_v0_7/one_wire.yaml', ] logger: diff --git a/boneio-mosfet48_switches_v0_7.yaml b/discontinued/boneio-mosfet48_switches_v0_7.yaml similarity index 96% rename from boneio-mosfet48_switches_v0_7.yaml rename to discontinued/boneio-mosfet48_switches_v0_7.yaml index 05efdb2..22e7539 100644 --- a/boneio-mosfet48_switches_v0_7.yaml +++ b/discontinued/boneio-mosfet48_switches_v0_7.yaml @@ -34,17 +34,17 @@ dashboard_import: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: packages-v1.7.2 + ref: packages-v2.0.0 files: [ - 'devices/buzzer.yaml', - 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - '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_mosfet.yaml', - 'boards/mosfet48_output.yaml', - # 'devices_v0_7/one_wire.yaml', + 'packages/devices/buzzer.yaml', + 'packages/devices/serial_no.yaml', + 'packages/devices_v0_7/display.yaml', + 'packages/devices_v0_7/i2c.yaml', + 'packages/devices_v0_7-v0_9/ina219.yaml', + 'packages/devices_v0_7-v0_9/lm75b.yaml', + 'packages/devices_v0_7-v0_9/pcf_mosfet.yaml', + 'packages/boards/mosfet48_output.yaml', + # 'packages/devices_v0_7/one_wire.yaml', ] logger: