Allow multiple connections per browser

This commit is contained in:
thomas committed 2022-07-24 19:04:52 +00:00
1 parent 1cb64a2c8d
commit 1076bb2c9c
3 files changed
+18 -27

No files matched your search

-8
View File
@@ -109,14 +109,6 @@ export const AutoSettingsMixin = (SuperClass) => {
}
_updateFavicon({ result }) {
// TEMP: Template for testing
/*
{% if is_state("light.bed_light", "on") %}
/local/workspace/test/icons/green.png
{% else %}
/local/workspace/test/icons/red.png
{% endif %}
*/
const link: any = document.head.querySelector("link[rel~='icon']");
link.href = result;
window.browser_mod.fireEvent("browser-mod-favicon-update");