I don't think that these will do that.
Try The Flasher app.
Maybe Simple Automations? I was able to do it for my door and a RGB device, so I would start there.