From 3f7024b78e324ed8320a4e07e9a13bb9afecf85b Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Thu, 4 Jan 2024 10:52:50 +0100 Subject: [PATCH] Remove debug and release --- package.json | 2 +- src/utils/attributes.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a3ebdb2..8df8fe5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flower-card", - "version": "2024.1.0-beta11", + "version": "2024.1.1", "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 747fda7..ae2c397 100644 --- a/src/utils/attributes.ts +++ b/src/utils/attributes.ts @@ -87,11 +87,11 @@ export const renderAttribute = (card: FlowerCard, attr: DisplayedAttribute) => { const label = attr.name === 'dli' ? 'moldm2' : unitTooltip const attributeCssClass = `attribute tooltip ${card.config.display_type === DisplayType.Compact ? 'width-100' : ''}`; - console.info( - `%c FLOWER-CARD %c Attr: ${attr.name} Val: ${val} Max: ${max} Min: ${min} Available: ${aval}`, - 'color: cyan; background: black; font-weight: bold;', - 'color: darkblue; background: white; font-weight: bold;' - ); + // console.debug( + // `%c FLOWER-CARD %c Attr: ${attr.name} Val: ${val} (${typeof(val)}), Max: ${max} (${typeof(max)}), Min: ${min} (${typeof(min)}), Available: ${aval}`, + // 'color: cyan; background: black; font-weight: bold;', + // 'color: darkblue; background: white; font-weight: bold;' + // ); return html`
${unsafeHTML(toolTipText)}