Open RubenKelevra opened 2 weeks ago
external_components:
- source:
refresh: 1s <------------------- add this
@nkinnan I'll try this tomorrow. But why isn't the source refreshed automatically, if the tag is not found? And why does it not abort the build process, but just continues without the specified source? 🤔
I couldn't say, I just run with the refresh specified and have had no issues.
speculation: I suppose it doesn't know that the tag wasn't found because it didn't check because it wasn't refreshing from git in the first place since it's "timeout" to refresh wasn't hit. And if you manually go into the filesystem and delete what it downloaded, and it's not hit the refresh "timeout" it again doesn't check git, and doesn't know you went and deleted it behind it's back.
Well, that sounds pretty broken ;D
If I got time I'll take a look
It's just a guess ;) But I'm sure any improvements would be welcomed by esphome.
I was seeing this when specifying a PR number and after pushing new commits it just wasn't being download. I ended up using local files
The problem
The external_components function is a bit flaky for me, when overwriting an already existing component with an updated one for testing.
Issues I've noticed
Observations
Which version of ESPHome has the issue?
2024.9.2 / 2024.9.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.10.0b3 / 2024.9.0
What platform are you using?
ESP8266
Board
Wemos D1 mini
Component causing the issue
external_components
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response