This commit is contained in:
Jelle Jansen 2024-12-19 00:56:05 +01:00
parent 3dc919ca1d
commit 8c05b10a91
2 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ action:
- choose: - choose:
- conditions: - conditions:
- condition: template - condition: template
value_template: "{{ state_attr(_bb_child_last_timer, 'on') }}" value_template: "{{ state_attr(_bb_child_last_timer, 'active') }}"
sequence: sequence:
- service: babybuddy.add_feeding - service: babybuddy.add_feeding
data: data:

View File

@ -172,7 +172,7 @@ action:
- choose: - choose:
- conditions: - conditions:
- condition: template - condition: template
value_template: "{{ state_attr(_bb_child_last_timer, 'on') }}" value_template: "{{ state_attr(_bb_child_last_timer, 'active') }}"
sequence: sequence:
- service: babybuddy.add_feeding - service: babybuddy.add_feeding
data: data:
@ -181,8 +181,8 @@ action:
method: "{{ states('select.baby_buddy_feeding_method') }}" method: "{{ states('select.baby_buddy_feeding_method') }}"
amount: "{{ states(_bb_amount) }}" amount: "{{ states(_bb_amount) }}"
notes: "{{ states(_bb_notes) }}" notes: "{{ states(_bb_notes) }}"
target: ## target:
entity_id: !input bb_timer ## entity_id: !input bb_timer
default: default:
- service: babybuddy.add_feeding - service: babybuddy.add_feeding
data: data: