diff --git a/package.json b/package.json index c3b076a..0b8e642 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flower-card", - "version": "2024.7.13", + "version": "2024.7.14", "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 e09af77..da755e4 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}%
diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 5c0feae..80f688d 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -20,7 +20,7 @@ export const getStubConfig = (hass: HomeAssistant) => { } export const moreInfo = (card: FlowerCard, entityId: string): void => { - console.log("Event", entityId); + // console.log("Event", entityId); fireEvent( card, 'hass-more-info',