#Sonos sensor Audio input format

1 messages · Page 1 of 1 (latest)

ripe monolith
#

Hello,
I’m trying to create a condition that checks if my Sonos soundbar has an audio input.
In the Logbook I can see changes like “Sonos Livingroom Audio input format changed to No input” but for the entity state I can only choose between unknown and unavailable.
Sadly other stats don’t update that fast like if the Soundbar is playing takes over 10 min to change to not playing after turning of the tv or stop a music stream.
Anyone figured this out?

Thanks in advance.

mint quest
#

you can put custom entries in there just fine, you don't have to be limited to the dropdown options

#

the limited options is because the sonos integration isn't providing the full list of possibilities to the UI - which is fair enough as it can be very varied so they just don't bother

ripe monolith
#

I tried to set the State to “no audio” but that condition does not pass.

mint quest
#

you might need to check the developer tools - as the state displayed in the log book is translated from what it is in the backend (possibly "none" or "no_audio") which is what the triggers/conditions care about

ripe monolith
mint quest
#

just one of those quirks of the system

ripe monolith
#

It is “no Input” but that does not pass as well.

mint quest
#

pass what?

ripe monolith
#

The condition test

mint quest
#

can you post it?

ripe monolith
#

‘condition: state
entity_id: sensor.beam_audio_input_format
state: "no Input"’

mint quest
#

It should be "No input" not "no Input"