The Apex chart boost column for PriceAnalyzer Temperature Correction is not showing
overas opened this issue · 1 comments
overas commented
I am using the PriceAnalyzer Temperature Correction from the wiki page and the boost column is not showing up any more.
The apex chart data generator draw up the column when the attribute "temperature_correction" > 0.
data_generator: |
let today = entity.attributes.raw_today.map((entry) => {
return [new Date(entry.start), ((entry.temperature_correction > 0 ? 1 : 0) * 10000)];
});
if(entity.attributes.tomorrow_valid) {
let tomorrow = entity.attributes.raw_tomorrow.map((entry) => {
return [new Date(entry.start), ((entry.temperature_correction > 0 ? 1 : 0) * 10000)];
});
return today.concat(tomorrow);
}
return today;
Today the nordpool raw_today and raw_tomorrow data shows every hour with temperature_correction: 0
Maybe this is a temporary problem because the price data is not changing enough.
Version of the custom_component
Priceanalyzer 1.2Homeassistant version
Home Assistant 2023.1.7
Configuration
Add your logs here.
Describe the bug
A clear and concise description of what the bug is.
Debug log
Add your logs here.
overas commented
The boost column was generated today. Because of this I close the case.