Python OOP programming trouble : im coding a universal controller that controls all smart devices in the house my script runs correctly but show's nothing`     

    ##this is a universal controler
    #1_controling LG Webos smart tv
    import os
    from pylgtv import WebOsClient
    import sys
    import logging
    class Device:
    counter=0
        def __init__(self,ip,name):
            self.ip=(ip)
            self.name=(name)
            Device.counter += 1
    smarttv=Device('192.168.0.105','Smart')
    class tv(Device):
        #launching an application
        def launch_app(self):
            logging.basicConfig(stream=sys.stdout, level=logging.INFO)

            try:
                webos_client = WebOsClient(self)
                webos_client.launch_app('com.webos.app.music')

                for app in webos_client.get_apps():
                    print(app)
            except:
                print("Error connecting to TV")
