commit
dec2ddb393
|
@ -17,8 +17,8 @@ from homeassistant.const import (
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = [
|
REQUIREMENTS = [
|
||||||
'https://github.com/bah2830/python-roku/archive/3.1.2.zip'
|
'https://github.com/bah2830/python-roku/archive/3.1.3.zip'
|
||||||
'#roku==3.1.2']
|
'#roku==3.1.3']
|
||||||
|
|
||||||
KNOWN_HOSTS = []
|
KNOWN_HOSTS = []
|
||||||
DEFAULT_PORT = 8060
|
DEFAULT_PORT = 8060
|
||||||
|
@ -114,7 +114,8 @@ class RokuDevice(MediaPlayerDevice):
|
||||||
if self.current_app is None:
|
if self.current_app is None:
|
||||||
return STATE_UNKNOWN
|
return STATE_UNKNOWN
|
||||||
|
|
||||||
if self.current_app.name in ["Power Saver", "Default screensaver"]:
|
if (self.current_app.name == "Power Saver" or
|
||||||
|
self.current_app.is_screensaver):
|
||||||
return STATE_IDLE
|
return STATE_IDLE
|
||||||
elif self.current_app.name == "Roku":
|
elif self.current_app.name == "Roku":
|
||||||
return STATE_HOME
|
return STATE_HOME
|
||||||
|
|
|
@ -208,7 +208,7 @@ https://github.com/Xorso/pyalarmdotcom/archive/0.1.1.zip#pyalarmdotcom==0.1.1
|
||||||
https://github.com/aparraga/braviarc/archive/0.3.6.zip#braviarc==0.3.6
|
https://github.com/aparraga/braviarc/archive/0.3.6.zip#braviarc==0.3.6
|
||||||
|
|
||||||
# homeassistant.components.media_player.roku
|
# homeassistant.components.media_player.roku
|
||||||
https://github.com/bah2830/python-roku/archive/3.1.2.zip#roku==3.1.2
|
https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3
|
||||||
|
|
||||||
# homeassistant.components.modbus
|
# homeassistant.components.modbus
|
||||||
https://github.com/bashwork/pymodbus/archive/d7fc4f1cc975631e0a9011390e8017f64b612661.zip#pymodbus==1.2.0
|
https://github.com/bashwork/pymodbus/archive/d7fc4f1cc975631e0a9011390e8017f64b612661.zip#pymodbus==1.2.0
|
||||||
|
|
Loading…
Reference in New Issue