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

Check if there are any widgets before connecting to websocket #2079

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

jpelgrom
Copy link
Member

@jpelgrom jpelgrom commented Dec 26, 2021

Summary

Fixes #2075.
Using the getAllWidgetIds function will only check the table for the specific type of widget, so if any new widgets are added in the future this won't need updating.

Screenshots

n/a

Link to pull request in Documentation repository

n/a

Any other notes

@JBassett JBassett merged commit b7d0ae7 into home-assistant:master Dec 27, 2021
@jpelgrom jpelgrom deleted the fix-widget-websocket-2075 branch December 27, 2021 08:46
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.

Websocket connecting for state changes when screen is turned on even if no widget has been added
4 participants