From 7d288141a92be4605f65e933130b079c51a2ecbc Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Fri, 19 Jul 2024 12:35:02 +0200 Subject: [PATCH] Stupid typo --- src/utils/attributes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/attributes.ts b/src/utils/attributes.ts index 6466469..c3c0e73 100644 --- a/src/utils/attributes.ts +++ b/src/utils/attributes.ts @@ -32,7 +32,7 @@ export const renderBattery = (card: FlowerCard) => { const { icon, color } = levels.find(({ threshold }) => state > threshold) || { icon: "mdi:battery-alert-variant-outline", color: "red" }; return html` -
moreInfo(card, card.config.battery_sensor)}"> +
${state}%