Skip to content

Commit

Permalink
Fixed bug for receivers without support for new command (#18478)
Browse files Browse the repository at this point in the history
* Fixed bug for receivers without support for new command

* removed extra parenthesis
  • Loading branch information
leothlon authored and bachya committed Nov 15, 2018
1 parent 4446b15 commit afb3a52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/media_player/onkyo.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ def update(self):
[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
Expand Down

0 comments on commit afb3a52

Please sign in to comment.