I have a subwoofer connected to my SqueezeBox in the bathroom, I can successfully automatically turn it off via a shelly plug, when I turn off the SqueezeBox, but I don’t succeed in turning the subwoofer/Shelly plug on when the SqueezeBox is turned on or is playing.
The trigger for turning off is entity=squeezebox boom, state=off (works), the trigger for turning on is entity=squeezebox boom, state = Playing (does not work, also tried “play”, “on”).
When I look at the states of the squeezebox in the logs, it only ever changes from off to Playing and the other way around.
The automation itself doesn’t show any log.
Anyone has an idea?
Look what the real state is in Developer Tools. I bet it’s ‘playing’ because states usually don’t come in capital letters.
1 Like
That was it, thanks so much!
It was shown somewhere else as “Playing”, so I used that, but in the developer tools it showed up as “playing”
Don’t get fooled by the history stats/states, I’ve written the same pony before.
Glad it was the easy solution this time.
I only started 5 weeks ago, so good to know