GPIO vs GPIOzero

I need specialist GPIO gouru.

I own a A-B rf relay switch for my antennas VHF-UHF.

My old script work fine with legacy satnogs version (1.8.1)

The GPIO, familiar to me, is no longer supported in bookworm distro.
I need help to build new scrip with “gpiozero”

INFO version include in bookworm OS

Package: python3-gpiozero
Version: 2.0.1-0+rpt1
Priority: optional
Section: python
Source: gpiozero