Allow multiple connections per browser

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

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");