Pyrotechnic device (1) intended for the destruction of animals that dig tunnels such as moles by firing a pyrotechnic charge (2), comprising means (3) for detecting the animal and a housing (4). The housing (4) contains:an electrical firing circuit comprising a firing contactor driven by the detection means (3),means for breaking the electrical firing circuit, making it possible to selectively break or re-establish the continuity of a section of electrical firing circuit.The pyrotechnic device (1) includes a removable cover (9), which can be fitted over the housing (4) and over the detection means (3) in a covering position to establish the continuity of the firing circuit, and which can be removed to a removed position to break the continuity of the electrical firing circuit.