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

Don't show toast error for screen on intent as it can be excessive #1230

Merged
merged 1 commit into from Dec 9, 2020

Conversation

dshokouhi
Copy link
Member

Summary

The other day my internet went out and I started to see a lot of toast errors. The error was expected since I could not connect to my HA instance. The problem is the screen on intent can become a bit excessive with these errors and if you know your HA instance is down it can become annoying. Lets only show the toast error when the user taps on the widget to update or its part of the normal update. This way we provide feedback when they ask for an update and we can't give them instead of when we proactively update the widgets.

I also had a friend hit a similar issue where he was on a flight and was connected to wifi without full data access so the errors still became excessive then.

Screenshots

n/a

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#n/a

Any other notes

Tested on my dev instance by creating widgets and shutting down the instance.

@JBassett JBassett merged commit 58cbb31 into home-assistant:master Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants