Fixed bug for receivers without support for new command (#18478)

* Fixed bug for receivers without support for new command

* removed extra parenthesis
pull/18500/head
Leothlon 2018-11-15 18:49:10 +01:00 committed by Aaron Bach
parent 4446b15cb0
commit afb3a52b5b
1 changed files with 3 additions and 0 deletions

View File

@ -220,6 +220,9 @@ class OnkyoDevice(MediaPlayerDevice):
[i for i in current_source_tuples[1]])
self._muted = bool(mute_raw[1] == 'on')
self._volume = volume_raw[1] / self._max_volume
if not hdmi_out_raw:
return
self._attributes["video_out"] = ','.join(hdmi_out_raw[1])
@property