nitobuendia/oura-custom-component

[Feature Request] Add multiple values per day sensors: sessions, workouts

nitobuendia opened this issue · 2 comments

In the quest of adding all Oura API data as sensors, we want to add Sessions and Workouts sensor. This is different to other sensors in that the data is not unique per day/date, but may contain multiple values per day and needs to be groupped.

This is now complete on oura-v2 branch. Unfortunately, I do not use either sensor so I don't have time to test this with. Nonetheless, this same logic worked fine for sleep_periods on #22, so it should be fine. Otherwise, I appreciate if anyone can open an issue to share any bugs found.

I will close this once oura-v2 gets merged into the main branch.

This was fixed by the merge of oura-v2.