I made this a while back and thaught nothing of it but when showing it to a fellow homeassistant enthusiast he wanted to use it and so I checked it into it’s own repo, it’s called cinema-card but it’s more like a custom remote control card since I use it to control ceiling fans as well. It’s simple and straightforward code.
You can find it here : https://github.com/drbytes/cinema-card
This is how it looks: