crowbarz / aiopioneer

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

how to use extra_amp_listening_modes #35

Open glassbase opened 1 month ago

glassbase commented 1 month 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 1 month ago

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

glassbase commented 1 month ago

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

crowbarz commented 1 month 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.