Samsung Smart TV remote written in a Python class