I Tried to Extend the Wifi-info component loaded from a Package & I get Compile Errors.
Searches say there “can” be issues extending the wifi_info Text Sensor due to it being a Multi-component Sensor.
But it’s all a bit Vague as AI seems to load the search with info that’s not very precise.
Is it Possible to actually extend thes Text Sensors, & if so can someone point me to a solution.
For Now I’ve done a Workaround with the Copy Component.
Should add,
This is the Error I get if I try and extend the Sensor ip_add
INFO ESPHome 2026.1.5
INFO Reading configuration /config/esphome/testesp-1.yaml...
Failed config
Source for extension of ID 'ip_add' was not found.
Just Saw another Search result that Stated:-
To “extend” the wifi_info text sensor from a package in ESPHome,
you can use the !extend functionality.
This allows you to add automations (like on_value )
or other properties to a sensor that was defined in an imported package.
Known limitations: In the past, there were issues with extending wifi_info and ethernet_info sensors,
but these have largely been resolved in recent
ESPHome versions using the callback infrastructure.