Open robbse81 opened 8 months ago
Fixed You can check it out here https://github.com/fabio-garavini/esphome-wled-output
Hi @fabio-garavini,
thanks for looking into this. I cleaned the build files and replaced the external component with yours. Now the compiling errors are as follows:
In file included from src/esphome/components/wled_output/light/wled_light_output.cpp:3:
src/esphome/components/wled_output/light/wled_light_output.h: In member function 'void esphome::wled::WLEDLightOutput::set_address(esphome::network::IPAddress)':
src/esphome/components/wled_output/light/wled_light_output.h:62:67: error: ambiguous overload for 'operator=' (operand types are 'IPAddress' and 'esphome::network::IPAddress')
62 | void set_address(network::IPAddress address) { this->address_ = address; }
| ^~~~~~~
In file included from src/esphome/components/network/ip_address.h:14,
from src/esphome/components/wled_output/light/wled_light_output.h:6,
from src/esphome/components/wled_output/light/wled_light_output.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/IPAddress.h:130:20: note: candidate: 'constexpr IPAddress& IPAddress::operator=(const IPAddress&)'
130 | IPAddress& operator=(const IPAddress&) = default;
| ^~~~~~~~
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/IPAddress.h:158:20: note: candidate: 'IPAddress& IPAddress::operator=(const ip4_addr&)'
158 | IPAddress& operator=(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; return *this; }
| ^~~~~~~~
*** [.pioenvs/tonie-wheel/src/esphome/components/wled_output/light/wled_light_output.cpp.o] Error 1
Issue Description: I am experiencing difficulty updating my working configuration due to the error described below.
Error Message: error: invalid cast from type 'esphome::network::IPAddress' to type 'uint32_t' {aka 'unsigned int'})
Related Issues: I found similar issues at:
Environment Information: ESPhome Version: 2023.12.5 Platform/Operating System: Home Assistant
Configuration Files:
Logs:
Attach any relevant logs or error messages here
Any advice is welcome.