Skip to content

Commit

Permalink
Merge pull request #1523 from AthAshino/main
Browse files Browse the repository at this point in the history
custom_card_schumijo_flower | Added support to Olen lovelace-flower-card fork on
  • Loading branch information
wilbiev authored Dec 23, 2024
2 parents e6b3ca1 + 347c943 commit 3b91bcf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
35 changes: 32 additions & 3 deletions custom_cards/custom_card_schumijo_flower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -28,6 +29,11 @@ Initial release
Fix language files for beta5
Updated README
</details>
<details>
<summary>2.0.0</summary>
Add support to lovelace-flower-card from Olen (advanced forked version)
Updated README
</details>

## Usage

Expand All @@ -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
Expand Down Expand Up @@ -67,11 +77,30 @@ Updated README
<td>yes</td>
<td>The species of your plant</td>
</tr>
<tr>
<td>ulm_card_flower_show_bars</td>
<td>
- temperature
<br>
- moisture
<br>
- humidity
</td>
<td>no</td>
<td>The bar you want to display. Any of :
<li>illuminance</li>
<li>humidity</li>
<li>moisture</li>
<li>conductivity</li>
<li>temperature</li>
<li>dli</li>
</td>
</tr>
</table>
## 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 3b91bcf

Please sign in to comment.