Skip to content

Commit 36c72b0

Browse files
authored
Update predbat-table-card.js
fixes to weather alert
1 parent 49acedd commit 36c72b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

predbat-table-card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ class PredbatTableCard extends HTMLElement {
501501

502502
let weatherAlert = ``;
503503
if(newContent.includes("⚠"))
504-
weatherAlert = `<ha-icon icon="mdi:alert-outline" title="${tooltip}" style="--mdc-icon-size: 18px;"></ha-icon>`;
504+
weatherAlert = `<ha-icon icon="mdi:alert-outline" title="Weather Alert" style="--mdc-icon-size: 18px;"></ha-icon>`;
505505

506506

507507
let friendlyText = "";

0 commit comments

Comments
 (0)