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

Make it sure to run the plugin just once #12

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

elchininet
Copy link
Owner

When the plugin is installed via HACS and added as an extra_module_url it loads two times in lovelace dashboards. This pull request ensures that the plugin runs only once avoiding processing the sidebar two times.

Note: as part of this pull request, a note has been added to the installation instructions to add a hash at the end of the URL to avoid caching issues.

@elchininet elchininet added bug Something isn't working documentation Improvements or additions to documentation labels Jan 3, 2024
@elchininet elchininet merged commit 297630e into master Jan 3, 2024
3 checks passed
@elchininet elchininet deleted the do_not_run_the_plugin_multiple_times branch January 3, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant