esphome / esphome/feature-requests

Change "Update All" to "Update Online Devices"

Open
#2,441 3 comments 23 reactions 0 assignees View on GitHub
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**

The "Update All" button in ESPHome is a nifty way of quickly updating all devices to the most recent version by creating a pipeline that builds each device with the latest data, then wirelessly uploading it to the device in question.
The trouble here is that this time saving measure is not helpful if some of those devices are not actually online.
I would propose the button be renamed to "Update Online Devices" (I'd also thought just "Update Online", but wasn't sure it entirely made clear the purpose of the button and might be miscontrued to mean it was the status of an update, rather than a call to action).
I'd then have this queue be updated to only actually compile the code for devices that are actually online.

I appreciate that if an upload fails, the user will still be able to download the firmware manually, but I suspect in such situations, the user is likely to be working with a few individual devices in development and so unlikely to be using the "Update All" button to achieve this. However I am making that assumption without seeing any usage data, so if I am mistaken, I suppose my proposed button could in fact be an addition rather than a change.

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

As a user with multiple devices online but a few without power at this time, I would like to update all devices with a single button without having to wait through compile times for devices that will currently fail to upload.

**Additional context**

Here is a mockup of the proposed change. Yellow box for highlighting purposes only.
Screenshot 2023-10-24 at 12 13 01

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the ESPHome dashboard's “Update All” action and the device update queue described in the request; trace how device online status is exposed before deciding where the filter belongs. Done means the action is labeled “Update Online Devices” and only online devices are compiled and uploaded, with offline devices excluded from the queue.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.