Switch on/off network connected devices

I’ve been searching Home Assistant for a way to control devices connected to my network wired and wifi. All I want is a quick way to switch the internet off and on for specific devices. A boolean would be perfect.

My network consist of pfsense firewall, Netgear prosafe switch, and Unifi AP. My Unifi controller runs on the same machine as HA via the Home Assistant Community Add-on: UniFi Controller. Pfsense is integrated via UPnP: sensors.

I did see the unifi integration that allows for presence detection and switch. I think this would work for wifi devices but still leaves me without control of wired. Does anyone have a suggestion?