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

Show a toast failure when widgets fail to get or send data #1093

Merged
merged 1 commit into from Oct 23, 2020

Conversation

dshokouhi
Copy link
Member

I figure we should give some type of response to the user when a widget fails upon an update so a toast seems best. Like for example if the device does not have data or HA server is down. I can remove it from the button widget but I figure since we show a toast for all the others we might as well show a toast here too.

Also for entity state I have switched the call from getEntities to getEntity for the entity state widget.

This is only for when you tap to update a widget and that call fails for whatever reason.

@JBassett JBassett merged commit 6c2c082 into home-assistant:master Oct 23, 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