Refactor menu button logic out of main card.
This commit is contained in:
@@ -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