Replies: 1 comment 4 replies
-
This one should get you started #213 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am quite new to ha and also this card. As far as I understood HA and also this card only plot values with time entries in the past. Now I have a sensor (epex_spot) with values also one day ahead which I would love to plot. Can anyone pinpoint me how to accomplish that?
https://github.com/mampfes/ha_epex_spot
With apex charts this was accomplished with:
data_generator: > return entity.attributes.data.map((entry, index) => { return [new Date(entry.start_time).getTime(), entry.price_eur_per_mwh];}).slice(parseInt(hass.states['sensor.epex_start_low_period'].state.substring(0,2)),parseInt(hass.states['sensor.epex_start_low_period'].state.substring(0,2))+4);
Beta Was this translation helpful? Give feedback.
All reactions