Here is a smart button that works with Apple HomeKit, allowing you to control your connected devices at home easily. The Logitech POP Smart Button is programmable and supports 3 gestures. It connects to your WiFi network via the POP bridge. In fact, the bridge can connect to an unlimited number of buttons.
You can use this smart button with non-HomeKit devices such as Sonos too. Costs under $60 at this time.