realthk / asyncpioneer

Async Pioneer AVR for Home Assitant
27 stars 24 forks source link

Missing sources in last version #19

Open DarthSmeg opened 3 years ago

DarthSmeg commented 3 years ago

Loving your component, but recently I have an issue where a previously available source is no longer visible in the source-list.

Nothings changed on the AMP, the source in question id the DVR/BDR source (number 15), which I've renamed "Optical". The official Pioneer component has an option to list and rename inputs, but that config does not work with yours.

Is there a way of manipulating the source list, to make HA work with a defined source? The Amp still responds to telnet commands, and will happily switch to the desired input if I send a telnet command manually, or if I use it's remote. But I can no longer use any automations in HA.

My config looks like this (as you can see I've renamed some other inputs as well):

Custom Pioneer config

And according to Home Assistant, the entity "media_player.pioneer_avr" has the following attributes:

source_list: Blu Ray, DVD, SAT/CBL, HDMI 1, HDMI 2, TV, Lounge volume_level: 0.7027027027027027 is_volume_muted: false media_content_type: music media_title: TV media_artist: media_album_name: source: TV current_radio_station: current_speaker: A+B current_hdmi_out: 1 ON friendly_name: Pioneer Main supported_features: 19389

DarthSmeg commented 3 years ago

No info? I realise the problem may be something else, so if someone has a clue, please point me in the right direction :)