madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
392 stars 74 forks source link

How to Turn Off Display *New LG Smart TV - Sound Only #109

Open bbccdd opened 1 year ago

bbccdd commented 1 year ago

Hi. How can one add a button on the - fantastic - remote to turn the screen off while listening to music please? Pointers in the right direction are much appreciated.

NB Now I've added the 'turn off' function - incredibly useful while listening to music (video's) with kids - to the top of the settings menu, so it requires 2 clicks with the original remote. Wondering how to add a button for it on the software remote.

leolazz commented 1 year ago

Here is a script that I use that programmatically turns off the display using the LG provided integration. Changing the entity id to your device should fit your needs, assuming your menu is equivalent to mine. For reference, mine is an OLEDGXPUA. ` alias: "Tv: Screen off" sequence: