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

Cannot update firmware #2158

Open barrylapthorne opened 5 months ago

barrylapthorne commented 5 months ago

TFT Version

4.3.7

ESPHome Version

4.3.7

Blueprint Version

4.3.7

Panel Model

US

What is the bug?

When trying to update firmware it indicates to me that there is a capital ‘N’ when there is not IMG_6634 IMG_6635 IMG_6636

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 5 months ago

Looks like in your substitutions, the items are missing the two blank spaces at the beginning. (First picture) Could you please share your yaml as a text and not screenshot, so we can cooy/paste to duplicate the issue?

smarthomefamilyverrips commented 5 months ago

@edwardtfn after update to ESPhome 2024.6.1 I get the following in my logs when I try to view logs

INFO ESPHome 2024.6.1 INFO Reading configuration /config/esphome/nsbathroom.yaml... ERROR Unexpected exception while reading configuration: Traceback (most recent call last): File "/usr/local/bin/esphome", line 8, in sys.exit(main()) ^^^^^^ File "/esphome/esphome/main.py", line 1079, in main return run_esphome(sys.argv) ^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/main.py", line 1057, in run_esphome config = read_config(dict(args.substitution) if args.substitution else {}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config.py", line 1093, in read_config res = load_config(command_line_substitutions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config.py", line 947, in load_config return _load_config(command_line_substitutions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config.py", line 937, in _load_config return validate_config(config, command_line_substitutions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config.py", line 774, in validate_config config = do_packages_pass(config) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/components/packages/init.py", line 179, in do_packages_pass recursive_package = do_packages_pass(package_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/components/packages/init.py", line 179, in do_packages_pass recursive_package = do_packages_pass(package_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/components/packages/init.py", line 180, in do_packages_pass config = merge_config(recursive_package, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config_helpers.py", line 101, in merge_config return merge(full_old, full_new) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/esphome/esphome/config_helpers.py", line 52, in merge res[k] = merge(old[k], v) if k in old else v ^^^^^^^^^^^^^^^^ File "/esphome/esphome/config_helpers.py", line 52, in merge res[k] = merge(old[k], v) if k in old else v ^^^^^^^^^^^^^^^^ File "/esphome/esphome/config_helpers.py", line 52, in merge res[k] = merge(old[k], v) if k in old else v ^^^^^^^^^^^^^^^^ File "/esphome/esphome/config_helpers.py", line 58, in merge ids = { ^ File "/esphome/esphome/config_helpers.py", line 61, in if (v_id := v.get(CONF_ID)) and isinstance(v_id, str) ^^^^^ AttributeError: 'EStr' object has no attribute 'get'

smarthomefamilyverrips commented 5 months ago

@edwardtfn I did see that there is a fix for this error AttributeError: 'EStr' object has no attribute 'get' in the form of update v4.3.9 but I am still on v4.3.7 and I not did do the HA update to version 2024.6.X so i can not update to v4.3.9 .... so how I can fix this if I wanna stay on v4.3.7 ???

edwardtfn commented 5 months ago

You can update only ESPHome part to v4.3.9.and stay with Blueprint v4.3.7. It should work with no issues.

smarthomefamilyverrips commented 5 months ago

You can update only ESPHome part to v4.3.9.and stay with Blueprint v4.3.7. It should work with no issues.

@edwardtfn So i can just use the update button on the ESPhome interface even when I am still on HA version 2024.5.5?

and put ref: back to main as now it was on v4.3.7 ( see #2152 )

edwardtfn commented 5 months ago

Yes. Or you can do ref: v4.3.9.

edwardtfn commented 5 months ago
smarthomefamilyverrips commented 5 months ago

Thanks @edwardtfn !!! 🥇

edwardtfn commented 4 months ago

@barrylapthorne, are you still having issues to compile your firmware?

barrylapthorne commented 4 months ago

Good day.

Yes I am still having issues. I do not have a flash tool so I cannot even reflash it to the latest. It’s frustrating me