esphome / esphome/feature-requests
Option to use an older version of esphome in Home Assistant Addon
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
When an upgrade does not go as expected, it should be somewhat easy to roll back to the previous version. Home Assistant does not support to downgrade an addon, but it should be relatively easy to use an older version of esphome within Home Assistant Addon.
Home Assistant Addon could simply create a new venv with the desired version of esphome and use that instead of what is provided by default.
**Please describe your use case for this integration and alternatives you've tried:**
This feature is needed when the addon is updated, then a device is updated, and the new version is broken due to some bug. Then, the previous version esphome is required to repair the device.
The alternative is to install esphome locally, or install the previous version of the addon manually into `~/addons`. Installing esphome locally is not that bad, as long as a suitable device is available (can't do that on a phone). Addon downgrade is quite difficult. A simple select box with esphome versions would be really great in such a case.
**Additional context**
Bugs may happen, that is ok. The question is, how difficult is to recover from them.
Contributor guide
No contributing guide indexed for this repository
Research direction
The request names no repository files, tests, or implementation entry points. Start by locating the Home Assistant add-on packaging and the logic that selects the bundled ESPHome version; review the existing local-install and manual ~/addons alternatives. Done would require an agreed version-selection and recovery design, including compatibility behavior and tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100