Closed lazmo88 closed 1 year ago
what browser this is taken from? Safari has issues with the apex-chart
Can't reproduce this. Is this still happening?
Still happening. Im using Chrome and Homeassistant mobileapp in android and the apex charts won't load until very late every other day. The nordpool hacs integration had this same problem earlier, but seems to work better than this now. That was the reason I started using this integration. I have these both running side by side now. Im using both with apexcharts.
I just installed this this morning, an hour ago, and same problem. But I think the issue is that the data shows 2022-11-30 as today and 2022-12-01 as tomorrow. And that's why the chart looks like that. EDIT: maybe this? https://github.com/JaccoR/hass-entso-e/issues/77 state_class: measurement prices_today:
... prices_tomorrow:
It is indeed issue with the today/tomorrow dates. Thanks to @RT1080 for pointing out solution 🙏
series:
- entity: sensor.average_electricity_price_today_2
show:
legend_value: false
stroke_width: 2
float_precision: 3
type: column
opacity: 0.3
color: '#1007f0'
data_generator: |
return entity.attributes.prices_today.map((record, index) => {
return [record.time, record.price];
});
- entity: sensor.average_electricity_price_today_2
show:
legend_value: false
stroke_width: 2
float_precision: 3
type: column
opacity: 0.3
color: '#07bef0'
data_generator: |
return entity.attributes.prices_tomorrow.map((record, index) => {
return [record.time, record.price];
});
Hello, for some reason today ApexCharts example stopped working. As far as I can see data is updated and provided correctly, however the chart isn't reflecting the values.
Any thoughts?