Video on this project here: https://www.youtube.com/watch?v=--XLR3WlTqo
This code can be flashed to any ESP8266 device. An attached button can then control 2 separate tasmota devices over wifi/MQTT.