I was signed up for a trial for dynamic electricity prices and am now looking to visualize the upcoming prices for other users in the house to maybe defer some energy-intensive stuff to a time where prices are cheaper. However, for that, I first need to actually get the data into Homeassistant.
I can fetch the data from an API and have already set this up in my EVCC instance. To avoid fetching the same data twice, I want to use the EVCC API to get the prices already available there. Using curl, this is easy, curl https://evcc.home/api/tariff/grid returns the data available in a format like this: ```{
"rates": [
{
"start": "2025-08-07T19:45:00+02:00",
"end": "2025-08-07T20:00:00+02:00",
"value": 0.270696
},
...
]
}
Now I'm both not sure how I can actually fetch the data from EVCC using Homeassistant and also how I can populate a sensor value with data from the future. Any help is appreciated, thanks π
Once that data is in Homeassistant, I think using some graph card addon will make it easy to visualize it, so it's more about getting the actual data into HA...