KaufHA/common

Compiliation fails after esphome 2023.10.0 update

Opened this issue · 7 comments

Compiling .pioenvs/kauf-rgbsw-648e5f/src/esphome/components/captive_portal/captive_portal.cpp.o
src/esphome/components/captive_portal/captive_portal.cpp: In member function 'void esphome::captive_portal::CaptivePortal::start()':
src/esphome/components/captive_portal/captive_portal.cpp:76:37: error: invalid cast from type 'esphome::network::IPAddress' to type 'uint32_t' {aka 'unsigned int'}
76 | this->dns_server_->start(53, "*", (uint32_t) ip);
| ^~~~~~~~~~~~~
*** [.pioenvs/kauf-rgbsw-648e5f/src/esphome/components/captive_portal/captive_portal.cpp.o] Error 1

When I tried to do update to 2023.10 from HA, I receive a message at bottom " failed to call service update/install....."
Currently on 2023.9.3.

Should be fixed now.  Had to update the custom components for the latest ESPHome release.  In order for you to see the fix you'll need to delete your .esphome/packages folder or wait 24 hours for ESPHome to check for an updated package again.

.esphome is a hidden folder within config/esphome/. You probably need to show hidden files or something.