-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling on esphome 2025.2.0 #236
Comments
@Mense1978 thanks |
For your info Thanks |
Could you try ?
and also check your repository clone is up to date? maybe: external_components:
- source: github://echavet/MitsubishiCN105ESPHome
refresh: 0s and also, do you confirm you're building with an espHome 2025.2.0 version ? |
And also, what esp are you using ? |
ok, here it is. sensor:
# Uptime sensor.
- platform: uptime
name: ${name} Uptime |
I've added the above sensor and it nearly compiles but at the end I get this error:
EDIT: Clean build files did the trick. Compiles now 🤗 |
I got those errors:
INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/aa-mitsubishi-dormitorioprincipal.yaml...
INFO Detected timezone 'Europe/Madrid'
INFO Generating C++ source...
INFO Compiling app...
Processing aa-mitsubishi-dormprincipal (board: d1_mini; framework: arduino; platform: platformio/[email protected])
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.6
Compiling .pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/climateControls.cpp.o
Compiling .pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/cn105.cpp.o
Compiling .pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/componentEntries.cpp.o
Compiling .pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/cycle_management.cpp.o
In file included from src/esphome.h:39,
from src/esphome/components/cn105/Globals.h:2,
from src/esphome/components/cn105/cn105.h:2,
from src/esphome/components/cn105/climateControls.cpp:1:
src/esphome/components/cn105/uptime_connection_sensor.h:2:10: fatal error: esphome/components/uptime/uptime_seconds_sensor.h: No such file or directory
2 | #include "esphome/components/uptime/uptime_seconds_sensor.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/climateControls.cpp.o] Error 1
In file included from src/esphome.h:39,
from src/esphome/components/cn105/Globals.h:2,
from src/esphome/components/cn105/cn105.h:2,
from src/esphome/components/cn105/cn105.cpp:2:
src/esphome/components/cn105/uptime_connection_sensor.h:2:10: fatal error: esphome/components/uptime/uptime_seconds_sensor.h: No such file or directory
2 | #include "esphome/components/uptime/uptime_seconds_sensor.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/cn105.cpp.o] Error 1
In file included from src/esphome.h:39,
from src/esphome/components/cn105/Globals.h:2,
from src/esphome/components/cn105/cn105.h:2,
from src/esphome/components/cn105/componentEntries.cpp:1:
src/esphome/components/cn105/uptime_connection_sensor.h:2:10: fatal error: esphome/components/uptime/uptime_seconds_sensor.h: No such file or directory
2 | #include "esphome/components/uptime/uptime_seconds_sensor.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/componentEntries.cpp.o] Error 1
In file included from src/esphome.h:39,
from src/esphome/components/cn105/Globals.h:2,
from src/esphome/components/cn105/cn105.h:2,
from src/esphome/components/cn105/cycle_management.cpp:2:
src/esphome/components/cn105/uptime_connection_sensor.h:2:10: fatal error: esphome/components/uptime/uptime_seconds_sensor.h: No such file or directory
2 | #include "esphome/components/uptime/uptime_seconds_sensor.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/aa-mitsubishi-dormprincipal/src/esphome/components/cn105/cycle_management.cpp.o] Error 1
========================== [FAILED] Took 1.09 seconds ==========================
For your info, do not update esphome
The text was updated successfully, but these errors were encountered: