Rest Sensor (external API resource) with historical data - how to graph?

With apexchart, you can feed data from anywhere as long as you can create a javascript function that can fetch it.

See below for an example from InfluxDB, which can be reused for any kind of REST source
To be crystal clear: Nothing is written nor usable in HA. This is purely to display a graph in Lovelace

1 Like