KaufHA / kauf-rgbww-bulbs

Files for the KAUF RGBWW Smart Bulbs
43 stars 19 forks source link

Build Failing in ESPHome / HA #65

Open numchucksoe opened 4 months ago

numchucksoe commented 4 months ago

INFO ESPHome 2024.6.4 INFO Reading configuration /config/esphome/garage-left-replacement.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 "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/esphome/esphome/components/button/init.py", line 48, in 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 /data/packages/0cf47246/kauf-bulb.yaml:100]

Component not found: button.

-- substitutions: name: "garage-left-replacement" device_name: garage-left-replacement friendly_name: Garage-Left-Replacement packages: kauf.rgbww: github://KaufHA/kauf-rgbww-bulbs/kauf-bulb.yaml esphome: name: ${name} name_add_mac_suffix: false friendly_name: ${friendly_name} api: encryption: key: xxx

wifi: ssid: !secret hidden_wifi_ssid password: !secret hidden_wifi_password fast_connect: True

bkaufx commented 4 months ago

You are on an old version of the yaml. Something with ESPHome keeps it from checking for updates in some cases. You need to delete the .esphome/packages folder or reinstall the add-on.