Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add option to disable toast messages for widget errors #1541

Closed
mallorca2288 opened this issue May 11, 2021 · 1 comment · Fixed by #1555
Closed

[Feature request] Add option to disable toast messages for widget errors #1541

mallorca2288 opened this issue May 11, 2021 · 1 comment · Fixed by #1555
Labels
enhancement New feature or request widget

Comments

@mallorca2288
Copy link

Is your feature request related to a problem? Please describe.

Whenever my phone loses cell reception, my wifi connection is bad, or my home-assistant server is down I constantly get toast messages that say:

Unable to fetch data for configured entity

This is super annoying for me, the message will appear constantly on top of other apps making them unusable (For example, I can't take pictures while the toast is appearing because it's on top of the shutter button). Force stopping the app doesn't make this toasts stop.

Describe the solution you'd like

Please consider adding an option in the app settings to disable this toast messages. Or maybe change them so they will only be shown once every couple hours. For example, if I already know that my home-assistant instance is down, I don't need to be reminded every 30 seconds.

Describe alternatives you've considered, if any

I don't know if its possible, but wouldn't it be better to completely remove this toasts, and just show an error sign on top of each widget?

Additional context

Related:
#1120
#1164

@mallorca2288 mallorca2288 added the enhancement New feature or request label May 11, 2021
@dshokouhi
Copy link
Member

dshokouhi commented May 19, 2021

So these toast error messages only show up during their normal update interval or when the user taps on them. If you are seeing it periodically it is probably staying for a long period of time because a toast message is shown for each widget that fails to update on its own.

the update interval is set to minimum of 30 minutes and not 30 seconds

what we can probably do here is only show the toast when a user taps on widget as opposed to the normal update, might be a better experience that way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request widget
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants