Play Sonos on arrival IF TV not on AND time between x and y?

The Core experts hang out in the peer assistance thread. If you ask there they should be able to tell you.