I would like to draw a null line in this chart - see mock-up in green. I understand that I need to decide to which y-axis to align it (primary or secondary), but I utterly fail to find out how to draw it at all.
I am not sure whether it matters that I use the custom:mini-graph-card (HACS) but hope to get some general idea how this can be accomplished. See my YAML:
I would create a helper (-> number) and set it to zero.
(please note: there is a difference in the German “Null” ( → figure 0 ) and the English “null” in programming. The English page for this in Wikipedia is not helpful, have a look at the German one: Nullwert – Wikipedia)
Thanks! In fact I meant zero (not a null value from programming). However, when I go to helpers and add a number (or try doing so), it tells me that there must be a difference between minimum and maximum etc. I cannot set it to zero, it seems - unless I misunderstand something about it. Besides, it offers me the option for a slider or an entry field. But where can I simply say this should be constantly zero? Any further hints?
PS:
The red message (that denies me entering zero twice for minimum and maximum) says:
value must be at least 1e-09 for dictionary value @ data[‘step’]. Got 0