Open k1rd3rf opened 4 years ago
I like the idea. Getting the current status from the plant entity is easy enough. However, I can't find an easy way to get the configured max/min-values. There is another card here that just checks if the state contains a keyword, and will color the icon red based on that: https://github.com/jckoester/lovelace-picture-plant-card
But I don't really like that approach.
I think it would be better to get the configured min/max-values into the attributes of the plant "sensors": https://github.com/home-assistant/core/blob/dev/homeassistant/components/plant/__init__.py
That way we could read it directly from the plant entity. But that requires a PR to the plant component...
It would be nice to specify one entity instead of each and every entity, since HA support the plant domain.
lovelace: