Energy price today (€/kWh) 24h

Grafana v10.4.1
data influxbd

Both images are from homeassistant, I try see the same data in grafane erergy price 24 hours ahead but to nu no success. anyone have an idea how ?
from(bucket: “homeassistant”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“entity_id”] == “nordpool_energyprices”)
|> filter(fn: (r) => r[“_field”] == “value”)
|> filter(fn: (r) => r[“_measurement”] == “€”)
|> filter(fn: (r) => r[“domain”] == “sensor”)
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: “mean”)

Greetings, Smytangel

Hi @smytangel

What do you have in the time Picker of grafana? Something like this?

Hi, grant2. Thanks for your support .

i changed the value absolute time range to from now-1h to now+12h. Now I see this, see pic.
Maybe it’s because of the trigger in HomeAssistant that I not see the compleet 48h

now-1h to now+48h

Greetings, Smytangel