I have had this issue ongoing once in a while, different versions of software from ATV4K or TV.
This is how i solved it.
When HDMI-CEC isn’t working properly, you need to turn everything off at the plug and remove all HDMI cables from your TV. (Or if you are connected AV amp from there, my case i only have one HDMI cable that comes from TV to AV amp and every other device is connected to AV amp via HDMI cables)
Next, turn your TV on first. Then, one by one you need to connect your devices back in this order.
So if you have any external sound devices (soundbar or AV amp), you need to plug these into an HDMI port on your TV first, and then power them on. Next, plug in a set-top box, such as Sky Q, via HDMI and power it on. Finally, follow up with media players and Blu-ray players.
after this you should be able to choose on/off option again from your ”Control TVs and Receivers”