Repository navigation
1.0.0
The first release of WUD Queue, an integration that installs What's Up Docker's container updates one at a time. Pressing several install buttons at once, or Home Assistant's own "Update all", makes WUD run the installs side by side, its own update among them, and compose files written in the same second can end up with the wrong versions. The queue puts the installs in a line, WUD's own container last, and stops at the first failure.
It pairs with WUD Queue card, released alongside it, which shows the queue and fills it with a button. The integration works through its actions alone too.
Also in this release
- The queue is
sensor.wud_queue. Its state isidle,running,stoppedorfailed, and its attributes list the items in order with their versions and status, so every dashboard shows the same queue. - Four actions run it.
wud_queue.enqueueadds updates,stoplets the current item finish and leaves the rest,retrypicks up after a failure, andclearputs a finished queue away. A finished queue also clears itself after ten minutes. - Services of one compose project that run the same image and are headed for the same version are one item. A stop waits for the whole item, so a compose file is never left with only some of its services updated.
- WUD reports no failures, so the queue works them out. An install fails when Home Assistant refuses to send it, when WUD doesn't start it within a minute, when the container is still on its old version two minutes after WUD finished, or when it runs for half an hour.
wud_queue_failedandwud_queue_finishedevents let an automation send a notification or keep a log.- An install counts as done once the container reaches its new version, even when WUD leaves its own entity marked as installing after replacing itself. A container that WUD is recreating is waited out while its entity is briefly unavailable.
- Texts in English and Finnish.