baby_buddy_homeassistant icon indicating copy to clipboard operation
baby_buddy_homeassistant copied to clipboard

Is it possible to get a count of notes with tags?

Open cvocvo opened this issue 1 year ago • 3 comments

Background commentary: https://github.com/orgs/babybuddy/discussions/666

Tl;dr is that I was asking if we could add some way to track the number of books read. @cdubz mentioned I can use tags and they've thought about graphing before; and he thinks this should be possible via the API. I think I could keep track of the number of books read (and probably read over time via a sensor) in HA if we could have sensors added or some way to add a custom sensor. The sensor(s) would just be a 'count' of the number of tags within a specified amount of time. Perhaps 7, 30, 365 days, and all time would be sufficient.

What do you think? This seems to align with some other feature requests as well that are accomplished via notes+tags in BabyBuddy. If you point me in the right direction I could try and look at the code as well.

Thank you!

cvocvo avatar Jun 21 '23 13:06 cvocvo