From 062ec8a7c29507798816b964ae02caaf66b29954 Mon Sep 17 00:00:00 2001 From: Villhellm Date: Wed, 23 Oct 2019 13:03:52 -0700 Subject: [PATCH] changed STATE_OFF to STATE_STANDBY (#28148) --- homeassistant/components/roku/media_player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index d69b0eddb71..12aca141510 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -20,7 +20,7 @@ from homeassistant.const import ( STATE_HOME, STATE_IDLE, STATE_PLAYING, - STATE_OFF, + STATE_STANDBY, ) DEFAULT_PORT = 8060 @@ -98,7 +98,7 @@ class RokuDevice(MediaPlayerDevice): def state(self): """Return the state of the device.""" if self._power_state == "Off": - return STATE_OFF + return STATE_STANDBY if self.current_app is None: return None