Likely related to issue #78. My receiver reports self._sound_mode_raw as All Zone Stereo, however your if in set_sound_mode:1466 expects it to be uppercase - ALL ZONE STEREO. This change simply converts it to uppercase within the if statement, allowing All Zone Stereo to be disabled when necessary. I'm guessing that some receivers report it all caps, but mine (X1500H) uses title case.
It may be better to instead set self._sound_mode_raw to uppercase automatically, rather than only in the if, however I didn't want to mess with too much.
Likely related to issue #78. My receiver reports
self._sound_mode_raw
asAll Zone Stereo
, however yourif
inset_sound_mode:1466
expects it to be uppercase -ALL ZONE STEREO
. This change simply converts it to uppercase within theif
statement, allowing All Zone Stereo to be disabled when necessary. I'm guessing that some receivers report it all caps, but mine (X1500H) uses title case.It may be better to instead set
self._sound_mode_raw
to uppercase automatically, rather than only in theif
, however I didn't want to mess with too much.