crowbarz / aiopioneer

Pioneer AVR API (asyncio)
Apache License 2.0
8 stars 4 forks source link

how to use extra_amp_listening_modes #35

Open glassbase opened 4 weeks ago

glassbase commented 4 weeks ago

Cannot for the life of me figure it out

My VSX-1130 amp has Dolby Surround sound mode at 0050.

Edit: I should say how to use it with the HA component.

glassbase commented 3 weeks ago

It is actually 0040. I stand corrected. Created a PR for it

glassbase commented 3 weeks ago

https://github.com/crowbarz/aiopioneer/pull/36

crowbarz commented 3 weeks ago

I see you have figured this issue out, but just a note here that the value that is used to set the listening mode is not always the value that is returned by the amp as the current mode (and vice versa). Both values needed to be added here in this case.