Blueprint: Auto-Update ESPHome Devices After Add-On Update
USE AT YOUR OWN RISK
Firmware updates — especially automated ones — can occasionally break ESPHome devices.
In rare cases, devices may become unavailable, fail to boot, or even become permanently unresponsive depending on hardware, flash health, or power stability during the update.
Make sure you have physical access to your ESPHome devices and that you can connect them via USB if recovery is needed.
This blueprint only automates the update trigger — it cannot prevent firmware-related issues caused by the update itself.
Description
This blueprint automatically updates all your ESPHome devices right after the ESPHome add-on itself gets updated.
It removes the need to manually check each device for firmware updates whenever the add-on updates.
Here’s what it does:
- Monitors the
installed_versionattribute of theupdate.esphome_updateentity. - When the add-on updates, it waits for a configurable delay.
- Scans all ESPHome update entities (
update.*) and selects only those:
that belong to ESPHome
that report an update available
that are not already in updating state - Sends a persistent notification listing all ESPHome devices that will be updated.
- Updates the devices sequentially, with a configurable pacing delay between updates.
- Sends a final persistent notification listing all devices that were successfully updated.
Everything runs hands-free — once configured, it just works.
How it works
- Import the blueprint using the button below.
- Create an automation using this blueprint.
- Configure two parameters:
- Delay after add-on update – waiting time before scanning ESPHome devices.
- Pacing between installs – seconds to wait between sequential firmware updates.
- Whenever the ESPHome add-on updates, the automation triggers automatically.
- It sends a notification, performs updates one by one, then sends a final summary.
Notifications
This blueprint uses persistent notifications inside Home Assistant:
- Before updates begin:
Lists all devices that will be updated. - After updates finish:
Lists all devices that were actually updated.
This keeps you fully informed without manual checking.
Benefits
- Fully automated firmware updates for ESPHome devices after the add-on updates.
- Prevents forgetting to update individual devices.
- Safe sequential updating prevents congestion or connection issues.
- Clean notifications before and after the process.
- Zero maintenance once set up.
Notes & Recommendations
- Ensure your ESPHome devices expose an
update.*entity (default behavior). - The automation mode is
single— repeated triggers won’t overlap. - If you have many ESPHome devices, start with a longer pacing delay.
- Review firmware changes if you run critical devices.
Install the Blueprint
Click below to import directly into Home Assistant:
Support
If this blueprint helped you, a GitHub star would be greatly appreciated:
GitHub - zenguru84/my-ha-toolbox: Reusable things for Home Assistant
And if you want to buy me a beer, you can do it here ![]()
![]()
https://www.buymeacoffee.com/zenguru84
Enjoy your automated ESPHome updates! ![]()