From bb8a8232544eee6ff923fb30caba06f8b6e21c06 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 16 Jul 2024 16:12:34 +0200 Subject: [PATCH 1/2] Added support to Olen lovelace-flower-card fork --- .../custom_card_schumijo_flower/README.md | 35 +++++++++++++++++-- .../custom_card_schumijo_flower.yaml | 1 + 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/custom_cards/custom_card_schumijo_flower/README.md b/custom_cards/custom_card_schumijo_flower/README.md index 518095d67..f42bedc19 100644 --- a/custom_cards/custom_card_schumijo_flower/README.md +++ b/custom_cards/custom_card_schumijo_flower/README.md @@ -14,8 +14,9 @@ This is a `custom-card` to display a plant entity. Shows state of the plant and ## Credits -Author: schumijo - 2021 -Version: 1.1.0 +- Author: schumijo - 2021 +- Update 2.0.0 : Ashino - 2024 +- Version: 2.0.0 ## Changelog @@ -28,6 +29,11 @@ Initial release Fix language files for beta5 Updated README +
+2.0.0 +Add support to lovelace-flower-card from Olen (advanced forked version) +Updated README +
## Usage @@ -38,6 +44,10 @@ Updated README ulm_card_flower_entity: plant.bonsai_ficus ulm_card_flower_name: Bonsai Ficus ulm_card_flower_species: "ficus retusa" + ulm_card_flower_show_bars: + - temperature + - humidity + - moisture ``` #### Variables @@ -67,11 +77,30 @@ Updated README yes The species of your plant + +ulm_card_flower_show_bars + +- temperature +
+- moisture +
+- humidity + +no +The bar you want to display. Any of : +
  • illuminance
  • +
  • humidity
  • +
  • moisture
  • +
  • conductivity
  • +
  • temperature
  • +
  • dli
  • + + ## Requirements -Need [lovelace-flower-card](https://github.com/thomasloven/lovelace-flower-card) +Need [lovelace-flower-card](https://github.com/Olen/lovelace-flower-card) ## Template code diff --git a/custom_cards/custom_card_schumijo_flower/custom_card_schumijo_flower.yaml b/custom_cards/custom_card_schumijo_flower/custom_card_schumijo_flower.yaml index 6703e826a..655661ca1 100644 --- a/custom_cards/custom_card_schumijo_flower/custom_card_schumijo_flower.yaml +++ b/custom_cards/custom_card_schumijo_flower/custom_card_schumijo_flower.yaml @@ -77,6 +77,7 @@ card_flower: type: "custom:flower-card" entity: "[[[ return variables.ulm_card_flower_entity ]]]" species: "[[[ return variables.ulm_card_flower_species ]]]" + show_bars: "[[[ return variables.ulm_card_flower_show_bars ]]]" card_mod: style: | ha-card{ From f25ab919d3fa4da75a67de6de9035bea108f9f72 Mon Sep 17 00:00:00 2001 From: Ashino Date: Sat, 27 Jul 2024 15:55:00 +0200 Subject: [PATCH 2/2] pre-commit hooks --- custom_cards/custom_card_schumijo_flower/README.md | 2 +- .../custom_card_sisimomo_printer.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_cards/custom_card_schumijo_flower/README.md b/custom_cards/custom_card_schumijo_flower/README.md index f42bedc19..cbf595d7f 100644 --- a/custom_cards/custom_card_schumijo_flower/README.md +++ b/custom_cards/custom_card_schumijo_flower/README.md @@ -14,7 +14,7 @@ This is a `custom-card` to display a plant entity. Shows state of the plant and ## Credits -- Author: schumijo - 2021 +- Author: schumijo - 2021 - Update 2.0.0 : Ashino - 2024 - Version: 2.0.0 diff --git a/custom_cards/custom_card_sisimomo_printer/custom_card_sisimomo_printer.yaml b/custom_cards/custom_card_sisimomo_printer/custom_card_sisimomo_printer.yaml index efe166995..b80018dd8 100644 --- a/custom_cards/custom_card_sisimomo_printer/custom_card_sisimomo_printer.yaml +++ b/custom_cards/custom_card_sisimomo_printer/custom_card_sisimomo_printer.yaml @@ -192,7 +192,7 @@ custom_card_sisimomo_printer: filter: opacity(40%); font-size: medium; } - + /* Error CSS */ div#cartridges .error-container { text-align: left;