Sonos Ray - sonos.set_option deprecated?

I got the new Sonos Ray and wanted to automate Night Mode based on time of day but no.
I’m not a 100% sure but the old way of “sonos.set_option” seems to be deprecated (even though it’s referenced in later post) and the option isn’t it’s own entity either.

Can anyone confirm or deny if this it the case currently on all Sonos sondbars or if it’s just on the Ray?

Home Assistant Core 2022.6.5
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.1

https://community.home-assistant.io/t/sonos-service-sonos-set-option-does-not-work-with-new-sonos-arc/206801
https://community.home-assistant.io/t/repeated-error-in-logs/377952/3
https://community.home-assistant.io/t/sonos-arc-sonos-set-option-night-sound-and-speech-enhancement/372140

True; it’s not described in the Sonos integration’s documentation or in the integration’s list of services.

Regarding the lack of control for Night Sound, feel free to either create a Feature Request or contact the integration’s maintainer who has been improving it continuously.

The Ray is new and isn’t recognized by the underlying library as a soundbar yet, so the home theater features aren’t exposed on it yet.

Can you share a diagnostics dump from the Sonos integration so I can be sure the Ray is otherwise reporting everything as expected?

Sure, where should I send it?
Couldn’t send a private message

I’m on the HA Discord under the same name.

This should fix the missing switches once it’s merged, released, and pulled into HA: Add Ray to known soundbars by jjlawren · Pull Request #917 · SoCo/SoCo · GitHub

1 Like

Excellent, great many thanks!!

1 Like

This was done in https://github.com/home-assistant/core/pull/73750 which will be included in 2022.7.0.

Great, many thanks for swift response and solution!

1 Like

Tested and working :+1:t2:

1 Like