From 5ccd8a40078057df60bd55c0009a594b26767986 Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Mon, 31 May 2021 16:41:45 +0200 Subject: [PATCH 1/4] change option style to card_style --- tempometer-gauge-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempometer-gauge-card.js b/tempometer-gauge-card.js index 62d24a3..06b536e 100644 --- a/tempometer-gauge-card.js +++ b/tempometer-gauge-card.js @@ -47,7 +47,7 @@ class TempometerGaugeCard extends HTMLElement { var icon_color = "var(--paper-item-icon-color)"; } - let card_style = cardConfig.style; + let card_style = cardConfig.card_style; const card = document.createElement('ha-card'); const content = document.createElement('div'); const style = document.createElement('style'); From 63066229550b9c486fff044114baf39dc95b305c Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Mon, 31 May 2021 16:42:25 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dcab65..426fd7a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add it as a custom card to your lovelace : `'custom:tempometer-gauge-card'`. | `entity_min` | string | The entity that define the minimum reached. Can be followed by an attribute to track `entity.attribute)` (you have to create this entity, the card will not compute it !) | | `entity_max` | string | The entity that define the maximum reached. Can be followed by an attribute to track `entity.attribute)` (you have to create this entity, the card will not compute it !) | | `title` | string | Card title to show. | -| `style` | string | Set this to `thermometer`, `humidity` or `custom` to change icons. (Default will be barometer theme, custom will need icon1, icon2, icon3 !) | +| `card_style` | string | Set this to `thermometer`, `humidity` or `custom` to change icons. (Default will be barometer theme, custom will need icon1, icon2, icon3 !) | | `measurement` | string | Custom unit of measurement | | `icon1` | string | Icon on left side in custom style. | | `icon2` | string | Icon on center in custom style. | From 7bf6e4a7a8c71e64a041e34929a2c35b5deb4473 Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Mon, 31 May 2021 16:44:54 +0200 Subject: [PATCH 3/4] bump version in console --- tempometer-gauge-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempometer-gauge-card.js b/tempometer-gauge-card.js index 06b536e..6025219 100644 --- a/tempometer-gauge-card.js +++ b/tempometer-gauge-card.js @@ -1,4 +1,4 @@ -console.info(`%c TEMPOMETER-CARD \n%c v1.31 `, 'color: orange; font-weight: bold; background: black', 'color: white; font-weight: bold; background: dimgray'); +console.info(`%c TEMPOMETER-CARD \n%c v1.4 `, 'color: orange; font-weight: bold; background: black', 'color: white; font-weight: bold; background: dimgray'); class TempometerGaugeCard extends HTMLElement { constructor() { super(); From 66a003342346c56a39fd3a4fc6f6a8f7a4d9bf68 Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Mon, 31 May 2021 16:50:09 +0200 Subject: [PATCH 4/4] version to beta --- tempometer-gauge-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempometer-gauge-card.js b/tempometer-gauge-card.js index 6025219..428a5cf 100644 --- a/tempometer-gauge-card.js +++ b/tempometer-gauge-card.js @@ -1,4 +1,4 @@ -console.info(`%c TEMPOMETER-CARD \n%c v1.4 `, 'color: orange; font-weight: bold; background: black', 'color: white; font-weight: bold; background: dimgray'); +console.info(`%c TEMPOMETER-CARD \n%c v1.4-beta.1`, 'color: orange; font-weight: bold; background: black', 'color: white; font-weight: bold; background: dimgray'); class TempometerGaugeCard extends HTMLElement { constructor() { super();