Unifi lacks url filtering and blocking of apps , using NextDNS we can achieve that and can block sites and apps on your home network .
Pls note that in NextDNS each month you get 300,000 queries free ,.
https://nextdns.io/
https://github.com/nextdns/nextdns/wiki
EdgeOS
sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'