I have automations that raise the lights when a movie or show starts playing or resumes playing in plex. And it raises the lights if the player is stopped. It can also detect if the player is paused, and only raises the lights a little bit.
This is done with the “media_player.plex_plex_for_android_tv_shield” entity. The possible states are “playing”, “paused”, “idle”, “unknown”, “unavailable”.
However, normal practice when binge watching a show is to skip to the next episode when the first one finishes it is about to. The on-screen UI has the classic Back, Play, Forward control icons. Or whatever it’s called (there’s a left triangle icon, a central play icon, and a right triangle icon. Like with old VCRs and tape players. Usually called “fast forward” or “skip” or “next” I suppose).
The problem is that when the skip button is pressed, the media_player.plex_plex_for_android_tv_shield entity changes from “playing” to “idle”. Then 10+ seconds later it changes to “playing” again.
The consequence is that my automation thinks that the user has stopped playing a video so it turns the lights back on.
Is there a way to detect if this “skip” button was pressed so I can prevent my automation from raising the lights again? I can’t find any entity.