I would like to use the Graph component in order to display sensor data from HA.
For example to plot the temperature data from a weather.sensor for the coming days (or hours). Something like this:
I really have no idea if this can be done with the default graph component, as this is based on history data within esphome. In my use case I want to convert a number of datapoint into a graph.
Should be fine I think once you’ve imported the sensors. Pretty sure ESPHOME will store the history required for the graph for you (in memory I guess).
Give it a go. Don’t expect the graphing experience to be slick. It’s pretty minimal.
@nickrout & @Mahko_Mahko
Thanks for you suggestions. I know how to get HA data into esphome.
Your example will give me the current temperature and will plot (it’s history) into the graph.
I am looking to plot a custom set of data.
The weather.sensor has also some forecasting attributes
Configuring a graph based on data imported via HA. Importing data from HA is not an issue .
Basically I want to be able to define my own x and y values. I don’t want to project history data from a specific sensor, but want to project custom data (like weather forecast temperatures)