The wand of pyrotechnics is a common magic item in Dragon of Icespire Peak. The text reads as follow:
This wand has 7 charges. While holding it, you can use an action to expend 1 of its charges and create a harmless burst of multicolored light at a point you can see up to 60 feet away. The burst of light is accompanied by a crackling noise that can be heard up to 300 feet away. The light is as bright as a torch flame but lasts only a second.
The wand regains 1d6 + 1 expended charges daily at dawn. If you expend the wand’s last charge, roll a d20. On a 1, the wand erupts in a harmless pyrotechnic display and is destroyed.
If a person under the effects of an invisibility spell uses the wand, would it cause the invisibility spell to end? My assumption is no because it doesn't count as a spell or an attack.
My follow-up questions is this:
Can an invisible person use other magic wands or items without ending the invisibility spell, so long as the item does not say it counts as casting spell or the item isn't used to make an attack?