I have a plant sensor configured showing me temp and moisture etc.
It creates a “problem” state if any of the measurements fall above or below the min/max set.
This looks like the below:
I created a template sensor of the problem (not sure if that was needed)
- platform: template
sensors:
pothos_marble_state:
friendly_name: "Pothos"
value_template: "{{ state_attr('plant.pothos_marble', 'problem') }}"
and that works too.
Now I was hoping to have some sort of entity filter card but for this problem so that the text appears above or below the plant details in my plant card (or potentially on a front page in HA…)
Is there a way of showing a state only if there is something in it? I am amazed I managed the template sensor but have fully run out of skill now.