Warning
This card is about to be completely rewritten. Versions > 2.0.0 will not be compatible with the original plant integration in HA or with earlier releases of this integration.
This fork of the flower-card depends on this patch to the internal Plant component: https://github.com/Olen/homeassistant-plant
Instead of reading the max/min-values from the huge data-file, it gets the values from the plant entity, using a websocket connection.
Version 1 of this card has been deprecated and requires Version 1 of https://github.com/Olen/homeassistant-plant
The rest of this readme describes Version 2 of this card
Several new sensors from the new version of the plant integration has been added to the card.
The card also now use websockets to retrieve extended information about the plants from the backend.
- The flower card also handles both °C and °F
You can also select what bars you want to show for each card
- lovelace-card-tools (https://github.com/thomasloven/lovelace-card-tools)
- Patched Plant sensor (https://github.com/Olen/homeassistant-plant)
- Add this repo as a "Custom repository" with type "Lovelace"
- Click "Install" in the new "Home Assistant Plant" card in HACS
1: Download the file flower-card.js and add it to your /config/www folder in HA
2: Click your profile picture in the bottom left corner -> Turn on Advanced Mode.
3: Go to Configuration -> Lovelace Dashboards -> Resources -> press the + (lower right corner of screen) and add the following information:
Url: /local/flower-card.js
Resource type: JavaScript Module
4: Press Create afterwards to add the new resource.
Add it as a custom card and select which bars you want to show on the card
type: custom:flower-card
entity: plant.my_plant
show_bars:
- illuminance
- humidity
- moisture
- conductivity
- temperature
- dli
I looked into several forks of the original card https://github.com/thomasloven/lovelace-flower-card. Some forks were very interesting and I edited several of those source codes changes into my own new fork. Credits to those original authors.