As an alternative to an Android TV, you could look into the Plasma Bigscreen project. Run it on whatever hardware you have available.
Plasma Bigscreen is an open-source user interface for TV’s. Running on top of a Linux distribution, Plasma Bigscreen turns your TV or setup-box into a fully hackable device. A big launcher giving you easy access to any installed apps and skills. Controllable via voice or TV remote.
1 line below, you can read
Tech companies have said scanning messages and end-to-end encryption are fundamentally incompatible. Earlier this month, junior minister Stephen Parkinson appeared to concede ground, saying in parliament’s upper chamber that Ofcom would only require them to scan content where “technically feasible”. Donelan said in response to questions about Parkinson’s statement that further work to develop the technology was needed but government-funded research had shown it was possible.
In practice, I doubt this will have any consequence on encryption, as the title of this post suggests.
I have only found the source code for the Android and iOS application, but not for the server.