jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.
MIT License
59 stars 28 forks source link

No longer working with BabyBuddy Container #79

Closed Borlean closed 1 year ago

Borlean commented 1 year ago

Using BabyBuddy v1.12.2 via docker, Home Assistant version 2022.9.7. My scripts for starting a timer and logging food (without a timer) no longer work.

Start timer topped working:

  - type: button
    tap_action:
      action: toggle
    entity: switch.child1_last_timer
    show_icon: true
    name: Start Timer

Button to log food stopped working:

  - type: button
    tap_action:
      action: toggle
    entity: script.babybuddy_add_self_fed_snack
    name: Snack

With the below script:

babybuddy_add_self_fed_snack:
  alias: BabyBuddy Self Fed - Snack
  sequence:
  - service: babybuddy.add_feeding
    data:
      type: Solid food
      method: Self fed
      amount: 4
    target:
      entity_id: switch.child1_last_timer
  - service: notify.parents
    data:
      title: BabyBuddy
      message: "\U0001F33D\U0001F966 Snack \U0001F33D\U0001F966"
  mode: single
  icon: mdi:corn

However, I just rolled back to a backup of Home Assistant 9.6 and things appear to work at first glance. Does anyone know what broke with 9.7? Is anyone else having issues?

jcgoette commented 1 year ago

Any applicable error logs to share?

Borlean commented 1 year ago

I didn't see any last night before I restored a recent backup. Tonight I'll upgrade Home Assistant to try and replicate the issue with version 10.0. I'll either post some logs or close the ticket.

On Wed, Oct 5, 2022 at 10:54 PM Justin Goette @.***> wrote:

Any applicable error logs to share?

— Reply to this email directly, view it on GitHub https://github.com/jcgoette/baby_buddy_homeassistant/issues/79#issuecomment-1269238540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7VNIVIXR3MD6JES3KLH73WBY5PRANCNFSM6AAAAAAQ6CCJSY . You are receiving this because you authored the thread.Message ID: @.***>

Borlean commented 1 year ago

Upgraded HA to 10.1 and am not having the issue that i saw in 9.7. Marking this as closed.