Blackymas / NSPanel_HA_Blueprint

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

`Bug` Syntax Error, YAML #2231

Open ucakca opened 3 weeks ago

ucakca commented 3 weeks ago

TFT Version

No response

Firmware Version

No response

Blueprint Version

No response

Panel Model

None

What is the bug?

I hope someone can help with my issue.

INFO ESPHome 2024.7.3 INFO Reading configuration /config/esphome/nspanelhome.yaml... ERROR Error while reading config: Invalid YAML syntax:

mapping values are not allowed here in "/config/esphome/nspanelhome.yaml", line 3, column 14 Screenshot_20240817_232112

Thank U a lot!

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 3 weeks ago
  1. Try to comment out the line 1
  2. Try to align the indentation of line 3 with line 4

Something like this:

#NSpanel-blacky.yaml

substitutions:
  # Settings - Editable values
  device_name: "nspanelhome"
...
Doughboy68 commented 3 weeks ago

Get rid of all the spaces after each line (they are displayed as that faint line), and any other of those characters. Did you copy and paste this in from somewhere?

ucakca commented 2 weeks ago

image the NSpanel is not connected to the network, there is no active ip entry in the router. I have a network (from the panel) that I can log into. Is there any interface?

I have found this in the logs. no of the proposed solutions were successful, tanks a lot

ucakca commented 2 weeks ago

now i downloaded the bin file again and connected it serial on my computer, to load it on the board. i get the errror "Failed to initialize. Try resetting your device or holding the BOOT button while selecting your serial port until it starts preparing the installation."