usernein / tv-card

📺 TV Remote Card (with touchpad and haptic feedback)
Apache License 2.0
107 stars 26 forks source link

Add support for roku platform via user specified remote_entity or by defaulting to remote.{{entity_id}} #15

Closed DenyThis closed 2 years ago

DenyThis commented 2 years ago

Hi Cezar! I was playing around with the new platform support and was able to get it to work with Roku TVs. I also did a bit of refactoring (swapped the if-else to a more appealing switch statement), and added a defaults column to the readme. Let me know what are your thoughts!

usernein commented 2 years ago

OOOO all the changes are very very nice!!! It will become much cleaner now, thanks!!!

About the switch-case part, soon it will get even cleaner (i hope). I plan to separate the repeated icons

DenyThis commented 2 years ago

Awesome!! Thanks a lot for maintaining this card! I'm lowkey brushing up my JS coding once again so lmk if you need any help on future tasks/requests!