Fixed bug for receivers without support for new command (#18478)
* Fixed bug for receivers without support for new command * removed extra parenthesis
This commit is contained in:
1 parent
4446b15cb0
commit
afb3a52b5b
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user