Replies: 1 comment 1 reply
-
That's some pretty lot you have there 👌👌👌 To shif data in time you have the time_offser parameter inside the traces ( Just set it to |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Well, I have been dealing with this issue for days, I have a bar chart that the data are correct but according to the hovertext and the tick of the lower xaxis correspond really to 1 day less, is it possible to move the bars so that they are 1 day less. For example those of the day 31/8 correspond to the day of the 30th. I think that the sensor is not reset exactly at 00:00 every day, it is reset a few seconds later, so that is why the data does not correspond to the day it marks.
I have tried several options with filters but I am not an expert in that, I need some help. I have tried several options like for example "period: day" and "statistic: state" but without correct result, the bars are not drawn. I have only managed to see the bars with the correct data and without the correct date by adding "time_offset: 2h" and with the filter "resample: 24h", it is the only thing that makes the data come out correctly.
Maybe the tickformat of the xaxis can be used to subtract or remove a day, I don't know if this option is also possible.
The sensor I use is the one created by Home Assistant with the iOS App to measure walking distance.
My code working values and data error:
Beta Was this translation helpful? Give feedback.
All reactions