ESP Update to from 4.3.7 fails`Bug`
jacky-coke opened this issue · comments
TFT Version
4.3.7
ESPHome Version
4.3.7
Blueprint Version
4.3.9
Panel Model
EU
What is the bug?
I followed as described here to upgrade ESPHome.
Cleaning config files suddenly died (no error, no nothing, the window just disappeared) and when retrying I'm getting the following output:
INFO ESPHome 2024.6.1 INFO Reading configuration /config/esphome/nik.yaml... ERROR Unexpected exception while reading configuration: Traceback (most recent call last): File "/usr/local/bin/esphome", line 8, in <module> 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 <dictcomp> if (v_id := v.get(CONF_ID)) and isinstance(v_id, str) ^^^^^ AttributeError: 'EStr' object has no attribute 'get'
Steps to Reproduce
see above
Your Panel's YAML
substitutions:
###### CHANGE ME START ######
device_name: "nspanelegflur"
wifi_ssid: ""
wifi_password: ""
#nextion_update_url: "http://192.168.0.56:8123/local/nspanel_blank.tft" # URL to local blank tft File
#nextion_update_url: "http://192.168.0.56:8123/local/nspanel_eu.tft" # URL to local tft File
nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_eu.tft" # URL to Github
#nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/custom_configuration/nspanel_blank.tft" # URL to Github
##### CHANGE ME END #####
##### 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
see above
Home Assistant Logs
No response
I'm sorry... Seems like something within HA died, a "normal" reboot couldn't fix.
For physical re-location purpose I shut down the Proxmox-Host and after a firing it up again, it worked.