{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11293","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11293/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11293/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11293/events","html_url":"https://github.com/home-assistant/home-assistant/issues/11293","id":284376467,"node_id":"MDU6SXNzdWUyODQzNzY0Njc=","number":11293,"title":"sensor.plex improvement idea for default values (and documentation)","user":{"login":"ferdydek","id":5775168,"node_id":"MDQ6VXNlcjU3NzUxNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/5775168?v=4","gravatar_id":"","url":"https://api.github.com/users/ferdydek","html_url":"https://github.com/ferdydek","followers_url":"https://api.github.com/users/ferdydek/followers","following_url":"https://api.github.com/users/ferdydek/following{/other_user}","gists_url":"https://api.github.com/users/ferdydek/gists{/gist_id}","starred_url":"https://api.github.com/users/ferdydek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferdydek/subscriptions","organizations_url":"https://api.github.com/users/ferdydek/orgs","repos_url":"https://api.github.com/users/ferdydek/repos","events_url":"https://api.github.com/users/ferdydek/events{/privacy}","received_events_url":"https://api.github.com/users/ferdydek/received_events","type":"User","site_admin":false},"labels":[{"id":56754860,"node_id":"MDU6TGFiZWw1Njc1NDg2MA==","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":541492700,"node_id":"MDU6TGFiZWw1NDE0OTI3MDA=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20media_player.plex","name":"platform: media_player.plex","color":"ededed","default":false},{"id":774983601,"node_id":"MDU6TGFiZWw3NzQ5ODM2MDE=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20sensor.plex","name":"platform: sensor.plex","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"ryanm101","id":5185337,"node_id":"MDQ6VXNlcjUxODUzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5185337?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanm101","html_url":"https://github.com/ryanm101","followers_url":"https://api.github.com/users/ryanm101/followers","following_url":"https://api.github.com/users/ryanm101/following{/other_user}","gists_url":"https://api.github.com/users/ryanm101/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanm101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanm101/subscriptions","organizations_url":"https://api.github.com/users/ryanm101/orgs","repos_url":"https://api.github.com/users/ryanm101/repos","events_url":"https://api.github.com/users/ryanm101/events{/privacy}","received_events_url":"https://api.github.com/users/ryanm101/received_events","type":"User","site_admin":false},"assignees":[{"login":"ryanm101","id":5185337,"node_id":"MDQ6VXNlcjUxODUzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5185337?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanm101","html_url":"https://github.com/ryanm101","followers_url":"https://api.github.com/users/ryanm101/followers","following_url":"https://api.github.com/users/ryanm101/following{/other_user}","gists_url":"https://api.github.com/users/ryanm101/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanm101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanm101/subscriptions","organizations_url":"https://api.github.com/users/ryanm101/orgs","repos_url":"https://api.github.com/users/ryanm101/repos","events_url":"https://api.github.com/users/ryanm101/events{/privacy}","received_events_url":"https://api.github.com/users/ryanm101/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-12-24T18:23:56Z","updated_at":"2018-10-26T10:11:19Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release (`hass --version`):**\r\n0.60.0\r\n\r\n**Python release (`python3 --version`):**\r\n*\r\n\r\n**Component/platform:**\r\nsensor.plex\r\n\r\n**Description of problem:**\r\nThis is a suggestion of small change, that could most likely be easily added with next bump to `plexapi==3.0.4`\r\n\r\nCurrently sensor.plex is not related with media_player.plex thus with changes of token (which does happen on several occasions) sensors errors out.\r\n\r\n**Expected:**\r\nThe improvement idea would be to:\r\n1. media_player component includes the playing count (++ with additional info about each currently playing stream)\r\n2. make sensor component check for `plex.conf` file and use its details as default values.\r\n\r\nThis would also lead to changes in documentation which for sensor also should make the authentication methods more clear - when using user/passwords OR token for authentication, while currently it seems everything is optional and therefore is inaccurate (Id gladly do the documentation PR if someone would take the PR for changes in actual code)\r\n\r\ntagging to get some feedback @ryanm101 \r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/433359406","html_url":"https://github.com/home-assistant/home-assistant/issues/11293#issuecomment-433359406","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11293","id":433359406,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzM1OTQwNg==","user":{"login":"balloobbot","id":16367972,"node_id":"MDQ6VXNlcjE2MzY3OTcy","avatar_url":"https://avatars3.githubusercontent.com/u/16367972?v=4","gravatar_id":"","url":"https://api.github.com/users/balloobbot","html_url":"https://github.com/balloobbot","followers_url":"https://api.github.com/users/balloobbot/followers","following_url":"https://api.github.com/users/balloobbot/following{/other_user}","gists_url":"https://api.github.com/users/balloobbot/gists{/gist_id}","starred_url":"https://api.github.com/users/balloobbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloobbot/subscriptions","organizations_url":"https://api.github.com/users/balloobbot/orgs","repos_url":"https://api.github.com/users/balloobbot/repos","events_url":"https://api.github.com/users/balloobbot/events{/privacy}","received_events_url":"https://api.github.com/users/balloobbot/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T10:11:19Z","updated_at":"2018-10-26T10:11:19Z","author_association":"CONTRIBUTOR","body":"There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.\n\nPlease make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:"}}
{"actor":{"display_login":"balloobbot"}}