mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
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:
parent
4446b15cb0
commit
afb3a52b5b
@ -220,6 +220,9 @@ class OnkyoDevice(MediaPlayerDevice):
|
|||||||
[i for i in current_source_tuples[1]])
|
[i for i in current_source_tuples[1]])
|
||||||
self._muted = bool(mute_raw[1] == 'on')
|
self._muted = bool(mute_raw[1] == 'on')
|
||||||
self._volume = volume_raw[1] / self._max_volume
|
self._volume = volume_raw[1] / self._max_volume
|
||||||
|
|
||||||
|
if not hdmi_out_raw:
|
||||||
|
return
|
||||||
self._attributes["video_out"] = ','.join(hdmi_out_raw[1])
|
self._attributes["video_out"] = ','.join(hdmi_out_raw[1])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user