jcgoette / baby_buddy_homeassistant

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

$firstname_$lastname_last_timer no longer has 'Active' attribute when a timer is active #117

Closed drpeppershaker closed 12 months ago

drpeppershaker commented 12 months ago

I've been using this popular blueprint to interact with HA and this integration for some time now.

If you read through the template, it uses value_template: "{{ state_attr(_bb_child_last_timer, 'active') and as far as I can tell, the ***_last_timer sensor no longer has an active attribute?

I don't know if this is a mistake or if this is now intended. If it's intended, I can update my local version of the blueprint to use something like value_template: "{{is_state('switch.$firstname_$lastname_timer', 'on')}}". And raise the issue with the author of the blueprint.

jcgoette commented 12 months ago

Are you on latest BB? There are now only active timers and the Active key was removed from BB/API.

Needs to be handled by the blueprint author.

drpeppershaker commented 12 months ago

Okay, awesome. Thank you for the speedy response! I'll raise it with he blueprint author