Empowering the Siri Remote to control TV-specific functions

This might be old hat to some but it's new to me and it felt inspiring so I figured I'd share. I like this idea, which ultimately makes it easy to switch some TV-specific settings and modes, via the Siri remote on its own, by way of the tvOS Control Center and HomeKit scenes, thanks to good ol' Home Assistant, serving as the middleman.

I'll be taking advantage of this soon.

Found on Reddit: https://www.reddit.com/r/HomeKit/comments/1ya0org/my_one_remote_obsession_journey_with_apple_tv/

I recently bought an Apple TV 4K to watch content on my TV (LG M5), because webOS is really crappy, on top of spying on what I do. On top of that, LG's Magic Remote is an ergonomic disgrace (do they even know what UX is at LG? Who puts secondary smart-home and AI features on the remote, and makes actual TV controls like input switching secondary, behind long presses? WTF). Anyway, thankfully the screen is gorgeous.

My problem is that I hate having several remotes and switching between them for the same everyday task: watching content. And the Siri Remote is actually pretty nice.

Sound and mute are no problem with the Siri Remote, over CEC or IR. But there is one thing I do regularly that the Siri Remote can't handle: changing the TV's picture mode (bright, dark, cinema, etc.), because the TV's automatic adaptation doesn't work very well (yet another great webOS implementation).

So I went with HomeKit scenes, which are available anywhere from Control Center. In case it helps someone, here is my setup (a bit complicated because, of course, I cut the LG off from the internet to avoid the spying, but I kept the WIFI):

The TV stays offline: everything goes over the local network, between Home Assistant and the TV.
Home Assistant: the official LG webOS integration handles the connection to the TV. No third-party add-on.
Changing the picture mode: LG's API doesn't officially allow it. I use a trick well known in the HA community: create an alert on the TV and close it right away, which triggers the setting internally.
One mode per signal type: the TV has separate modes for SDR, HDR and Dolby Vision, and ignores the one that doesn't match the current signal. So each press sends all three.
Exposing it to HomeKit: a "select" entity (a list of choices) in HA, which HomeKit shows as a power strip with one outlet per mode.
The scenes: one HomeKit scene per mode, turning on only the matching outlet. They show up in the Apple TV's Control Center.
Obviously you can't see the brightness change in the screenshot, but it works really well. I'm curious to hear your own tricks if you have the same problem as me (other than buying a universal remote).