Having the following issue with Plex integration returning ‘deleted’ users.
Plex allows you to share your server with ‘friends’ / ‘shared users’. In the Home Assistant integration, it calls these folks Monitored users : A list of accounts with access to the Plex server.
However, the HA integration also returns users that do NOT have access, including deleted users.
Example, Here is how it looks in the log, with the 5 accounts in bold already deleted from plex:
2021-02-22 13:56:11 DEBUG (SyncWorker_1) [homeassistant.components.plex.server] Linked accounts: {‘eschrxxxx’, ‘solocxxxxx’, ‘casblxx’, “Y’xxxL”, ‘Watcxxxx’, ‘Philfw’, ‘schrxxxx’, ‘rosxxxxxx’}
I’m attaching a screen shot of the the five users as they appear during integration setup:
Is there an opportunity to modify the code to only return active and non-deleted users? Its was a bit disconcerting to see the list of monitored users return with folks deleted from Plex years ago.
For reference I also opened this topic with Plex to see if they could handle this on their side.
Thanks,
Ed