Onkyo update (#6906)
* Update onkyo req, change volume to int * Update Onkyo Updates onkyo component. Pulls added sources (Bluetooth, built-in streaming, etc.) * Regenerated requirements_all.txt via script * Update onkyo.py * Update requirements_all.txt
This commit is contained in:
parent
c27a526f5b
commit
134b21dfea
2 changed files with 7 additions and 6 deletions
|
@ -14,8 +14,9 @@ from homeassistant.components.media_player import (
|
|||
from homeassistant.const import (STATE_OFF, STATE_ON, CONF_HOST, CONF_NAME)
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['https://github.com/danieljkemp/onkyo-eiscp/archive/'
|
||||
'python3.zip#onkyo-eiscp==0.9.2']
|
||||
REQUIREMENTS = ['https://github.com/miracle2k/onkyo-eiscp/archive/'
|
||||
'066023aec04770518d494c32fb72eea0ec5c1b7c.zip#'
|
||||
'onkyo-eiscp==1.0']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -127,7 +128,7 @@ class OnkyoDevice(MediaPlayerDevice):
|
|||
self._current_source = '_'.join(
|
||||
[i for i in current_source_tuples[1]])
|
||||
self._muted = bool(mute_raw[1] == 'on')
|
||||
self._volume = int(volume_raw[1], 16) / 80.0
|
||||
self._volume = volume_raw[1] / 80.0
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
|
@ -252,9 +252,6 @@ https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3
|
|||
# homeassistant.components.modbus
|
||||
https://github.com/bashwork/pymodbus/archive/d7fc4f1cc975631e0a9011390e8017f64b612661.zip#pymodbus==1.2.0
|
||||
|
||||
# homeassistant.components.media_player.onkyo
|
||||
https://github.com/danieljkemp/onkyo-eiscp/archive/python3.zip#onkyo-eiscp==0.9.2
|
||||
|
||||
# homeassistant.components.lutron_caseta
|
||||
https://github.com/gurumitts/pylutron-caseta/archive/v0.2.4.zip#pylutron-caseta==v0.2.4
|
||||
|
||||
|
@ -273,6 +270,9 @@ https://github.com/joopert/nad_receiver/archive/0.0.3.zip#nad_receiver==0.0.3
|
|||
# homeassistant.components.media_player.russound_rnet
|
||||
https://github.com/laf/russound/archive/0.1.7.zip#russound==0.1.7
|
||||
|
||||
# homeassistant.components.media_player.onkyo
|
||||
https://github.com/miracle2k/onkyo-eiscp/archive/066023aec04770518d494c32fb72eea0ec5c1b7c.zip#onkyo-eiscp==1.0
|
||||
|
||||
# homeassistant.components.sensor.pocketcasts
|
||||
https://github.com/molobrakos/python-pocketcasts/archive/9f61ff00c77c7c98ffa0af9dd3540df3dce4a836.zip#python-pocketcasts==0.0.1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue