mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Fix not available source in Onkyo (#140175)
This commit is contained in:
parent
6675b497bd
commit
aa2a1fc5ef
@ -588,7 +588,7 @@ class OnkyoMediaPlayer(MediaPlayerEntity):
|
||||
self._attr_volume_level = min(1, volume_level)
|
||||
elif command in ["muting", "audio-muting"]:
|
||||
self._attr_is_volume_muted = bool(value == "on")
|
||||
elif command in ["selector", "input-selector"]:
|
||||
elif command in ["selector", "input-selector"] and value != "N/A":
|
||||
self._parse_source(value)
|
||||
self._query_av_info_delayed()
|
||||
elif command == "hdmi-output-selector":
|
||||
|
Loading…
x
Reference in New Issue
Block a user