Refactor menu button logic out of main card.
This commit is contained in:
1 parent
6b9201630d
commit
b17fb62b36
10 files changed
+1780
-503
No files matched your search
@@ -195,6 +195,6 @@ export function domainIcon(domain: string, entity?: HassEntity, state?: string):
|
||||
return FIXED_DOMAIN_ICONS[domain];
|
||||
}
|
||||
|
||||
console.warn(`Unable to find icon for domain ${domain}`);
|
||||
console.warn(`Unable to find icon for domain: ${domain}`);
|
||||
return DEFAULT_DOMAIN_ICON;
|
||||
}
|
||||
Reference in new issue
Block a user