Hi there,
I created a helper to show me the own use of my solar energy in %.
{% set net = states('sensor.p1_meter_vermogen') | float %}
{% set solar = states('sensor.solaredge_huidig_vermogen') | float %}
{% if (solar + net) > solar %}
{{ 1 * 100 | round(0) }}
{% else %}
{% if solar > (net * (-1)) %}
{{ ((solar + net) / solar) * 100 | round(0) }}
{% else %}
{{ 0 | round(0) }}
{% endif %}
{% endif %}
I want to display the values in a statistic graph like this :
But when I try to add that statistic graph to my dashboard, I cannot select this helper.
I only can select this helper when I use this ‘Sensor’
What do I need to do to be able to show the values of this helpen in the graph shown as below (photoshopped image) :
Please advise