jcgoette / baby_buddy_homeassistant

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

V2.7 adding diaper changes stopped working? #115

Closed cvocvo closed 12 months ago

cvocvo commented 12 months ago

I upgraded to v2.7 and I have an automation tied to a zigbee button. On v2.6.7 I can press the button to record a wet/solid diaper. After upgrading to v2.7 this stopped working. I downgraded back to 2.6.7 and it works again. I tested by also just running the action from the automation.

Any ideas? Starting timers still works fine. Here’s the yaml for the automation action:

service: babybuddy.add_diaper_change
data:
  type: Solid
  time: "{{ now().strftime('%H:%M:%S') }}"
target:
  entity_id: sensor.baby_baby_van_oort

Thank you!

jcgoette commented 12 months ago

Anything in logs..?

cvocvo commented 12 months ago

Ahh shoot I didn’t think to look 😅 I will try re-upgrading and testing/gathering logs tomorrow.

cvocvo commented 12 months ago

Looks like this is the error; the entity name changed between versions for all of the related entities/sensors. Looks like I just need to do some work to fix that on my end. image