Inputing manual value then displaying as multi graph

Hello,

I need to register two (manual inputs) values throughout the day and display the history of the two to compare them.

I can’t get them automatically, so I have to input them manually.

  1. The first one is a value that can go from -10 to 10, ideally it should be a slider or something I can easily choose the value rather than writing it (on mobile), it would then register the new state (value).

  2. The second one, probably the easier, is a datetime. I need to be able to push a button “now”, it would register the current datetime. I currently do that with a button that trigger an automation like this:

    action: input_datetime.set_datetime
    metadata: {}
    target:
      entity_id: input_datetime.XXX
    data:
      datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
    

Then, I’d like to put a graph that shows the evolution of the first value throughout the day, and highlight on the graph the value it was each time I pressed the “now” button. It can be “two” separate graph (as long as the axis are in sync), but I’d prefer if it was on the same.

I’m a little confused between using a input_stats or counter for (1) and how should I approach the input method for that value

Thanks in advance for your recommandations