@kctrey wrote:
I use an input_number as a threshold/trigger value for some automation. Specifically, I set an input_number to a temperature where I want certain heaters and other things to turn on and off. That part works fine.
What I am trying to do now is to build a Grafana dashboard that shows the sensor temps along with the input_number value threshold line so that I can see when the temp drops below the threshold. When I try to use the value of that input_number as a series in the graph itself, I only see the value when I have the graph showing the exact time it was changed, and I don’t change these often.
I think the solution will involve using a query variable in Grafana and using the “threshold” function of the visualization, but I can’t figure out the query to get the current state of an input_number.
I did try writing an Automation that re-sets the input_number to it’s current value on a regular basis, and it appears that works, but it seems like a complicated way to deal with it. Since the HA History graphs can show the value retained over time, I am thinking I should be able to do the same in Grafana directly.
Posts: 1
Participants: 1