Make UI more responsive to power off for Samsung Smart TV (#4438)

This commit is contained in:
Magnus Ihse Bursie authored and Paulus Schoutsen committed 2016-11-17 22:00:18 -08:00
1 parent 82ed7b6b08
commit 779f520c56
1 file changed
+2
@@ -128,6 +128,8 @@ class SamsungTVDevice(MediaPlayerDevice):
def turn_off(self):
"""Turn off media player."""
self.send_key('KEY_POWEROFF')
# Force closing of remote session to provide instant UI feedback
self.get_remote().close()
def volume_up(self):
"""Volume up the media player."""