mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
changed STATE_OFF to STATE_STANDBY (#28148)
This commit is contained in:
parent
1412862f2a
commit
062ec8a7c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user