Allow multiple connections per browser
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user