Closed nightcat91 closed 2 months ago
Thanks for highlighting this. I've just fixed the manuals.
In your case, this should work:
substitutions:
# Settings - Editable values
device_name: "nspanel"
friendly_name: "nspanel"
wifi_ssid: !secret wifi_ssid
wifi_password: !secret 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 #####
# Enable Home Assistant API
api:
encryption:
key: !secret esphome_api_encryption
##### My customization - End #####
# Core and optional configurations
packages:
remote_package:
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: main
refresh: 300s
files:
- nspanel_esphome.yaml # Basic package
# # Optional advanced and add-on configurations
# # - esphome/nspanel_esphome_advanced.yaml
# # - nspanel_esphome_addon_climate_cool.yaml
# # - nspanel_esphome_addon_climate_heat.yaml
# # - nspanel_esphome_addon_climate_dual.yaml
TFT Version
unknown
ESPHome Version
2024.3.1
Blueprint Version
none yet
Panel Model
EU
What is the bug?
Following the guide here: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/install.md#setting-up-a-device-on-esphome-dashboard There are multiple small mistakes that I found so far. Some I was able to fix and others not (yet).
First compile problem:
Under 8.) Clear all existing content and paste the following YAML configuration: I think there is an identation mistake in the provided code here:
Should be:
If this is not fixed you will get the following error when trying to compile:
Second compile problem
After the first one is fixed the following compile error shows up:
I am not sure if the Warnings are a real problem or not, but I tried to fix the capital N first: Following the guide to use local files here: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/install.md#advanced-esphome-configuration I copied
nspanel_esphome.yaml
,nspanel_esphome_core.yaml
andnspanel_esphome_addon_upload_tft.yaml
to my local folders and changed Line 12 innspanel_esphome_core.yaml
fromdevice_name: NSPanel
todevice_name: nspanel
that clears the error about the capital N
Third compile problem
but this is the new compile log now with new errors:
Now I am out of ideas, and decided to write this bug report in the hope that it helps.
If I missed any info please let me know and I will gladly update and provide needed details!
Steps to Reproduce
Follow the guide: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/install.md
Your Panel's YAML
ESPHome Logs
No response
Home Assistant Logs
No response