Fix not available source in Onkyo ()

pull/140180/head
Artur Pragacz 2025-03-09 04:42:57 +01:00 committed by GitHub
parent 6675b497bd
commit aa2a1fc5ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
homeassistant/components/onkyo

View File

@ -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":