luier deel geupdate

This commit is contained in:
Jelle Jansen 2024-12-18 23:43:31 +01:00
parent 5cd62342f9
commit a1827052cf

View File

@ -147,6 +147,7 @@ action:
data:
type: "{{ states('select.baby_buddy_diaper_type') }}"
color: "{{ states('select.baby_buddy_diaper_color') }}"
amount: "{{ states(_bb_amount) }}" # Voeg het aantal luiers toe
notes: "{{ states(_bb_notes) }}"
target:
entity_id: !input bb_child
@ -155,6 +156,13 @@ action:
value: ""
target:
entity_id: !input bb_notes
- service: input_number.set_value # Reset bb_amount naar 0 na gebruik
data:
value: 0
target:
entity_id: !input bb_amount
- service: counter.increment
data: {}
target:
entity_id: !input diaper_counter