-
-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I'm using the Baby Buddy official android app, which provides buttons to start multiple concurrent timers.
The timers have specific names such as 'Feeding-BBapp:1', 'Sleep-BBapp:2', 'Pumping-BBapp:4'.
This allows for a parent to be pumping at the same time the baby is either asleep, or feeding.
I was hoping to collect/display this data in home assistant, and mimic the functionality, of being able to start 'feeding/pumping/sleep' timers, and I can do this:
- action: babybuddy.start_timer
target:
entity_id: switch.baby_timer
data:
name: HA-Sleep-BBapp:2
This works well, and the timer shows up in the android app correctly, as a timer of the correct type.
However, when calling the service, to add a feeding/pump/sleep, it only (seems) to support the idea of "the currently active timer".
So it will pick the last started timer, rather than the correct timer for the activity.
Edit:
Looking at HA, I'm not sure how multiple timers would be presented as entities, without it becoming more convoluted, which is why I wonder if the easiest approach would be to support timer types, rather than unlimited timers.