hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.37k stars 1.28k forks source link

HACS request to have an option to dismiss/skip/snooze notifications to restart #4057

Closed c11umw closed 1 month ago

c11umw commented 1 month ago

Web browser

Chrome

Web browser version

Version 128.0.6613.120 (Official Build) (64-bit)

System Health details

System Information

version core-2024.9.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.46-haos
arch x86_64
timezone Africa/Lagos
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 4993 Installed Version | 2.0.1 Stage | running Available Repositories | 1469 Downloaded Repositories | 52
AccuWeather can_reach_server | ok -- | -- remaining_requests | 17
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 1 January 2018 at 00:00 relayer_connected | false relayer_region | null remote_enabled | false remote_connected | false alexa_enabled | false google_enabled | false remote_server | null certificate_status | null instance_id | 33666b5ca6244ca6a2c33a8fd1787380 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.08.0 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 125.3 GB disk_used | 21.4 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (19.0.0), Cloudflared (5.1.19), DHCP server (1.4.0), Home Assistant Google Drive Backup (0.112.1), chrony (3.0.1), Log Viewer (0.17.0), MariaDB (2.7.1), Mosquitto broker (6.4.1), Studio Code Server (5.15.0), Samba share (12.3.2), Tailscale (0.21.0), RPC Shutdown (2.5), SQLite Web (4.2.0), Uptime Kuma (0.12.1), Piper (1.5.2)
Dashboards dashboards | 7 -- | -- resources | 31 views | 40 mode | storage
Miele component_version | 2024.8.1 -- | -- reach_miele_cloud | ok
Recorder oldest_recorder_run | 13 August 2024 at 04:00 -- | -- current_recorder_run | 10 September 2024 at 05:00 estimated_db_size | 8135.23 MiB database_engine | mysql database_version | 10.11.6
Sonoff version | 3.8.0 (79ecd72) -- | -- cloud_online | 0 / 3 local_online | 2 / 2

Checklist

Describe the issue

HACS is often prompting to update components through the day. With many of them they require a reboot to complete, this means I can be rebooting our server several times through the day. Before 2.0 I'd check HACS weekly+ and update en masse.

While you can dismiss/skip the update, if you proceed you can't dismiss, skip or snooze the prompt to reboot as the notification stays until you do. This means we are forced to reset otherwise we might miss a real problem alert thinking it's just the reboot nag.

Ideally we'd wait until later when no motion sensors are active before doing reboots as it saves us wandering through the home to update each sensor that could otherwise be stuck in an active state.

With Core and OS updates we know it'll reset as part of the update and can plan accordingly. With the HACS updates we don't know if it will nag for a reset until after it's been updated, otherwise we could skip it 'till later.

Reproduction steps

  1. Update an add-on that needs reboot ...

Screenshots

No skip image

Nag image

Javascript logs from your browser console

n/a

Diagnostics dump

No response

hacs-bot[bot] commented 1 month ago

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:

ludeeus commented 1 month ago

This is by design; they should not be skipped.