Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cvocvo opened this issue Jun 21, 2023 · 3 comments
Open

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

cvocvo opened this issue Jun 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@cvocvo
Copy link

cvocvo commented Jun 21, 2023

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!

@jcgoette
Copy link
Owner

Would seem doable.

Related issues: #58 and #77.

@jcgoette jcgoette added the enhancement New feature or request label Jun 21, 2023
@cvocvo
Copy link
Author

cvocvo commented Jun 21, 2023

Would seem doable.

Related issues: #58 and #77.

Ahh yea I see you mention the same / a similar concept in this: #77 (comment)
Would this existing PR accomplish what I'm thinking? #78 (if so I can try to take a look; I'm not a python dev in the least but I could give it a shot.)

@jcgoette
Copy link
Owner

I think it's necessary but not sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants