I want to have the Sonos Service resume play after a door bell is rang, but it needs to check before the doorbell rings that sonos was status = playing.
So I was going to do an if condition to check, but how do i log this status so i can check later before i call the service to resume?
I understand why you want to do that but you should know it’s not necessary. If your automation uses sonos.snapshot and the media_player is not playing, using sonos.restore won’t cause any problems.