Plex doesn't select random episode after HA restart

Does anyone know if there is a workaround for this?

I have automation that runs when we go to bed and turn on night mode. TV turns on, Plex is selected as source and it plays a random Seinfeld episode. Works great…until I have to restart HA due to an update, etc.

Then Plex will be selected but an episode wont play. I have to manually select an episode. Once I do that one time, then everything works again. Until the next restart.