Closed teamRibcage closed 4 weeks ago
Well..... it seems that I somehow missed the fact that my ESPHome container was out of date..... #facepalm 🙄
Updating to 2024.6.1 has solved this issue. There is still another issue with the button
component causing validation to fail on the updated container, however as that is a different error altogether (on a different version of ESPHome) this issue can be closed.
2024.6.1 Error:
INFO ESPHome 2024.6.1
INFO Reading configuration /config/kauf-bulb-489e9f.yaml...
INFO Updating https://github.com/KaufHA/kauf-rgbww-bulbs@None
ERROR Unable to load component button:
Traceback (most recent call last):
File "/esphome/esphome/loader.py", line 176, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/esphome/esphome/components/button/__init__.py", line 48, in <module>
cv.ENTITY_BASE_SCHEMA.extend(web_server.WEBSERVER_SORTING_SCHEMA)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'esphome.components.web_server' has no attribute 'WEBSERVER_SORTING_SCHEMA'
Failed config
button: [source /config/.esphome/packages/0cf47246/kauf-bulb.yaml:114]
Component not found: button.
- platform: restart
id: restart_button
name: Kauf Bulb Restart Firmware
entity_category: diagnostic
disabled_by_default: true
I'm sure work is being done to correct this one as well. If the problem persists, I'll open a separate issue for it. Thanks again for a great product!! 🙂
Greetings! I am having an issue updating my KaufHA bulbs (6x in total) from the ESPHome dashboard. They have all been updated in this manner several times in the past, but unfortunately it seems there is a problem with the latest version somewhere. All of my bulbs have a similar
yaml
config:I upgraded the firmware on one of the bulbs by directly uploading
kauf-bulb-v1.93-update.bin.gz
, after which the bulb required a full reset in order to get it connected to our home network once again. I re-imported the bulb to ESPHome but unfortunately the defaultyaml
also fails validation. The same (essentially) error is returned:Please let me know if there's anything else I can provide that might help get to the bottom of it. Thanks! 🙂