I’m confident with this identification. However I note that https://plantnet.rbgsyd.nsw.gov.au/cgi-bin/NSWfl.pl?page=nswfl&lvl=sp&name=Hypericum~gramineum says “Terminal cymes usually with 3 or more flowers” but I almost always see only 1 flower per stem.