I made an automatic wool farm. An observer detects when grass grows/is eaten and sends an output to a dispenser with a shear, which shears the sheep. Under the grass, there is
MC-165883] Wool farm not working/Observer & dispenser not working - Jira
How to Make a Minecraft Wool Farm: Step-by-Step Tutorial