From 221fc2cdaa37402f0350a60afe0ba81e416ecc65 Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Fri, 19 Jul 2024 14:23:24 +0200 Subject: [PATCH] More debug --- package.json | 2 +- src/utils/attributes.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f988dc..7a03ea8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flower-card", - "version": "2024.7.11", + "version": "2024.7.12", "description": "Custom flower card for https://github.com/Olen/homeassistant-plant", "keywords": [ "home-assistant", diff --git a/src/utils/attributes.ts b/src/utils/attributes.ts index da755e4..d3ca95a 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` -
+
${state}%