I’m trying to add items to my shopping list when a counter value gets to a certain value.
I’ve created an automation that says when the counter initial value goes below 3 then add item name to shopping list.
I’ve decreased the timer to 0 but nothing appears in the shopping list
alias: Kitchen - Add Fish Fingers to shopping list
description: when Fish fingers gos below 3 then add to shopping list
trigger:
- platform: numeric_state
entity_id:
- counter.fish_fingers
attribute: initial
below: 3
condition: []
action:
- service: todo.add_item
metadata: {}
data:
item: Fish Fingers
target:
entity_id: todo.shopping_list
mode: single