'Initialize the webos device.'

def __init__(self, host, mac, name, customize, config):

    from pylgtv import WebOsClient
    from wakeonlan import wol
    self._client = WebOsClient(host, config)
    self._wol = wol
    self._mac = mac
    self._customize = customize
    self._name = name
    self._muted = False
    self._playing = True
    self._volume = 0
    self._current_source = None
    self._current_source_id = None
    self._state = STATE_UNKNOWN
    self._source_list = {}
    self._app_list = {}
