diff --git a/Automations/babybuddy_nl.yaml b/Automations/babybuddy_nl.yaml index f061a81..f2c521d 100644 --- a/Automations/babybuddy_nl.yaml +++ b/Automations/babybuddy_nl.yaml @@ -172,7 +172,7 @@ action: - choose: - conditions: - condition: template - value_template: "{{ state_attr(_bb_child_last_timer, 'active') }}" + value_template: "{{ is_state(_bb_timer, 'on') }}" sequence: - service: babybuddy.add_feeding data: @@ -181,8 +181,8 @@ action: method: "{{ states('select.baby_buddy_feeding_method') }}" amount: "{{ states(_bb_amount) }}" notes: "{{ states(_bb_notes) }}" -## target: -## entity_id: !input bb_timer + target: + entity_id: !input bb_timer default: - service: babybuddy.add_feeding data: