Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.48k stars 264 forks source link

`Bug` can t compile firmware bin file #2320

Open mdmstudio571 opened 1 month ago

mdmstudio571 commented 1 month ago

TFT Version

No response

Firmware Version

No response

Blueprint Version

No response

Panel Model

EU

What is the bug?

during compile I have error: Microsoft Windows [Version 6.1.7601] F:>esphome compile nsp.yaml ←[32mINFO Reading configuration nsp.yaml...←[0m ←[32mINFO Updating https://github.com/Blackymas/NSPanel_HA_Blueprint@main←[0m Failed config

packages: [source nsp.yaml:20]

nspanel_esphome.yaml is not a valid YAML file. Please check the file contents.

remote_package: url: https://github.com/Blackymas/NSPanel_HA_Blueprint ref: main files:

Steps to Reproduce

No response

Your Panel's YAML

substitutions:
  # Settings - Editable values
  device_name: "nspanel"
  friendly_name: "nspanel"
  wifi_ssid: ""
  wifi_password: ""
  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"  # Optional
  # Add-on configuration (if needed)
  # heater_relay: "1"  # Possible values: "1" or "2"

# Customization area
##### My customization - Start #####
##### My customization - End #####

# Core and optional configurations
##### DO NOT CHANGE ANYTHING! #####

packages:
  ##### download esphome code from Github
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files: [nspanel_esphome.yaml]
    refresh: 300s

##### DO NOT CHANGE ANYTHING! #####

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 1 month ago

Have you tried cleaning your build files?

Another thing to try is to replace the ref: main to ref: latest or even ref: v4.3.11. That will force the download of that specific version, which is the most recent released version.