merdok / homebridge-webos-tv

Homebridge plugin for LG webOS TVs
MIT License
656 stars 88 forks source link

Turn TV on to a specific input? #519

Closed DataFran closed 8 months ago

DataFran commented 8 months ago

I’m trying to set up an automation that turns the TV on and selects the AppleTV input whenever I airplay something to the AppleTV, I have it working now where it turns the TV on, waits 20 seconds, then changes the input (I couldn’t get it to work with any shorter window), is there a way to have the TV turn on and select a specific input in the same command?

merdok commented 8 months ago

You can do an appButton for your specific input. When you turn on the created switch and the tv is off, it will automatically turn on and switch to the specified app or in your case input (an input is also just app). I guess that is what you are looking for.

DataFran commented 8 months ago

This absolutely did the trick, don't know why I couldn't get this yesterday, but I'll chalk it up to a day full of learning.

merdok commented 8 months ago

Good to hear that it works👍