After months of trying to problem solve I finally found someone that was extremely helpful and solved the remote issue that happens when updating AppleTV OS 17 and higher.
Note: This is for those that are using the older optical connection and IR remote settings. When updating the Remotes and Devices > Control TVs and Receivers default settings change.
Below are the steps to getting your remote working again.
Apple TV 📺 Remote Fix
1. Go to Settings > Remotes and Devices > Control TVs and Receivers.
2. Set this to Off.
3. Next, go to Settings > Remotes and Devices > Volume Control.
4. Select TV via IR.
5. Select Learn New Device.
6. Follow the on-screen steps to program your Apple TV
7. Now you will need to teach the Apple TV remote to the home theater speaker:
a. Open the Sonos app for iOS or Android. From the Settings tab, tap System.
8. Select the home theater room and tap Remote Control Setup.
9. Follow the in-app steps using your Apple TV remote. You will be prompted to program the Volume and Mute buttons on the remote. Some Apple TV remote models do not have a mute button. If it doesn't, just wait a minute for this to timeout and continue. After completing these steps, this remote will be the only remote that controls your home theater speaker volume.