Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom_card_schumijo_flower | Added support to Olen lovelace-flower-card fork on #1523

Merged
merged 3 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading