Plays random episode of Seinfeld once the plex activity sensor changed from unavailable to idle
Node red vs home assistant automation shouldent matter in this case. 1 & 2 always happen. But whats erratic is #3. Sometimes plex will go from unavailable to idle at first power up. Other times, TV has to power down and up 10x before plex reports anything other than unavailable.
Plex is really janky in a lot of ways. The apps on PS4, Chromecast, web, and Apple TV are so wildly inconsistent with their state reporting. I’ve honestly just given up on integrating plex into my set up.
If this is about the media_player being unavailable sometimes, please check the note in the docs regarding scanning for clients. There’s not currently a way the Plex clients announce their presence so there’s a button entity or service to check for new ones.
If there are other inconsistencies or bugs, please open an issue on the github repo.