I’ve got a Sonos sound bar and am trying to get a pico remote to do different things depending on whether Sonos is playing or the tv is on. Theres a sensor that displays the input format that I’m trying to use as the condition but I can’t figure out how to use it. Would it be state with the sensor entity or is there something under Device that I’m missing?
I don’t have any yaml yet, I was sure where to start. I have the below sensor how would I write a conditional where the sensor state is PCM 2.0? Also, sensor state is not PCM 2.0.