mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Fix not available source in Onkyo (#140175)
This commit is contained in:
@@ -588,7 +588,7 @@ class OnkyoMediaPlayer(MediaPlayerEntity):
|
|||||||
self._attr_volume_level = min(1, volume_level)
|
self._attr_volume_level = min(1, volume_level)
|
||||||
elif command in ["muting", "audio-muting"]:
|
elif command in ["muting", "audio-muting"]:
|
||||||
self._attr_is_volume_muted = bool(value == "on")
|
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._parse_source(value)
|
||||||
self._query_av_info_delayed()
|
self._query_av_info_delayed()
|
||||||
elif command == "hdmi-output-selector":
|
elif command == "hdmi-output-selector":
|
||||||
|
Reference in New Issue
Block a user