You can use a little dab from a hot melt glue gun. I'd apply it to the flasher and then press the flasher onto the equipment.
Or you can use something like these which will have a larger sticky surface area.
[Link: smarthome.com]Or these:
[Link: smarthome.com]