Open skykingjwc opened 6 months ago
That looks suspiciously like a mismatched build environment (ie, you've updated ESPHome, but something from the previous version got left behind in the build system for whatever reason).
Try running esphome clean
or deleting your .esphome
sub-folder (assuming you've not manually put any files in there, which you should never do - that entire sub-folder is meant to be generated by ESPHome).
That looks suspiciously like a mismatched build environment (ie, you've updated ESPHome, but something from the previous version got left behind in the build system for whatever reason).
Try running
esphome clean
or deleting your.esphome
sub-folder (assuming you've not manually put any files in there, which you should never do - that entire sub-folder is meant to be generated by ESPHome).
This output is from the ESP home integration in Home Assistant. I created an entirely new ESPHome entity, and also clicked "clean build files" just to be sure. I'll try it again when I get home to see if anything changes.
Same error after deleting .esphome folder.
Same error when running from esphome command line and pulling a new docker image.
Apparently using the id "utime" as the uptime sensor id, causes the issue. Changing the name to something else fixes it. Recommend adjusting code so that reserved names cannot be used in yaml.
The problem
Using an uptime sensor will not allow firmware to build.
Which version of ESPHome has the issue?
2024.3.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.3.3
What platform are you using?
ESP32
Board
nodemcu-32s
Component causing the issue
sensor/uptime
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Tried with both esp-idf and Arduino frameworks. Same error. Also updated to ESPHome V 2024.3.1 and the issue was not resolved.