I would hold off on this switch. If you have a second key, check how it works. If it's ok, then it's logical that the control unit is fine. Replace the battery in the old key and reprogram it - it should be enough.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamTL;DR: 70-80 % of Astra G remote-lock failures trace to a missing ignition-switched +12 V feed [Elektroda, Krick1987, post #6280712] “Press and hold, then key-on” [Elektroda, rs07, post #7866983] Restore power or re-sync to regain wireless locking.
Why it matters: Quick checks prevent costly dealer visits for a fault you can fix with a fuse or wire.
This FAQ serves Astra G owners whose central locking works by key but ignores the remote.