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

@@ -1918,14 +1918,6 @@ const AutoSettingsMixin = (SuperClass) => {
return link === null || link === void 0 ? void 0 : link.href;
}
_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 = document.head.querySelector("link[rel~='icon']");
link.href = result;
window.browser_mod.fireEvent("browser-mod-favicon-update");