baby_buddy_homeassistant icon indicating copy to clipboard operation
baby_buddy_homeassistant copied to clipboard

Add support for setting a note tag with add_note service

Open Cadair opened this issue 1 year ago • 10 comments

Unless I am missing something it seems that adding tags to notes isn't currently supported? This would be a nice addition. Thanks!

Cadair avatar Oct 02 '22 10:10 Cadair

Something else that I just thought of related to this is that it would be really nice to be able to get the time of the last note with a given tag, i.e. "last note with tag medicine"

Cadair avatar Nov 20 '22 10:11 Cadair

That would be cool and seems doable based on existing API documentation.

jcgoette avatar Nov 20 '22 13:11 jcgoette

I found the Octopus Energy custom component used config flow's to have an optional extra setup step to run which adds a new sensor for your energy rates.

We could do something similar to add sensors for notes (or other things) with specific tags?

Cadair avatar Nov 20 '22 17:11 Cadair

Yea, that is one option.

Another option is to just automatically create sensors for the last x for each tag. Could create them as automatically disabled or otherwise.

jcgoette avatar Nov 20 '22 19:11 jcgoette

Really wish this was in. Would be handy for recording solid foods

Marquo1 avatar May 11 '23 18:05 Marquo1

+1

ViPeR5000 avatar Aug 04 '23 11:08 ViPeR5000

Is it possible to add tags with the other services (diaper changes, feedings, sleep, etc)? Or is this not possible via the API?

TygerrZA avatar Nov 20 '23 13:11 TygerrZA

Looks possible to me.

jcgoette avatar Nov 20 '23 13:11 jcgoette

Looks possible to me.

Sorry - just to clarify: do you mean it is currently possible to do this (if so, what is the JSON key to use?). Or do you mean it can be added in as a later enhancement?

TygerrZA avatar Nov 21 '23 07:11 TygerrZA

Could be added. https://github.com/jcgoette/baby_buddy_homeassistant/issues/77#issuecomment-1321137742

jcgoette avatar Nov 21 '23 09:11 jcgoette