esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
402 stars 26 forks source link

Option to pre-build firmware updates in home assistant add-on #2682

Open pzich opened 2 months ago

pzich commented 2 months ago

Describe the problem you have/What new integration you would like

The ESPHome Home Assistant add-on notifies you that your device firmware is ready to update, and lets you perform the update from the app. Unfortunately in my case, it takes a long time to build the new firmware on my underpowered Home Assistant VM. I like to make sure that the device is still functioning as expected after doing an update, so it would be great to minimize the time between pressing update and the device being update.

Ideally, I could enable a configuration option in the add-on that, when it detects my devices have an update, automatically starts building them. Then when I click update/install, it only has to spend a few seconds uploading the firmware and restarting the device.

Please describe your use case for this integration and alternatives you've tried:

As an alternative, I've considered writing a script on my computer that attempts to do effectively the same checking and compiling as the add-on does, but this is a lot of duplicate work and requires me to go to my computer to do the install instead of the home assistant app.

Additional context