12 lines
310 B
Python
12 lines
310 B
Python
from lg import Remote
|
|
|
|
if __name__ == "__main__":
|
|
address = Remote.find_tvs(first_only=True)
|
|
remote = Remote(address)
|
|
|
|
key = raw_input('Enter pairing key: ')
|
|
remote.set_pairing_key(key)
|
|
|
|
print("EXAMPLE: remote.send_command(INSERT_CMD_HERE, remote.session)")
|
|
import pdb; pdb.set_trace()
|