{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17830","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17830/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17830/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17830/events","html_url":"https://github.com/home-assistant/home-assistant/issues/17830","id":374531363,"node_id":"MDU6SXNzdWUzNzQ1MzEzNjM=","number":17830,"title":"OpenUV throws 500 errors in 0.81","user":{"login":"bachya","id":47216,"node_id":"MDQ6VXNlcjQ3MjE2","avatar_url":"https://avatars3.githubusercontent.com/u/47216?v=4","gravatar_id":"","url":"https://api.github.com/users/bachya","html_url":"https://github.com/bachya","followers_url":"https://api.github.com/users/bachya/followers","following_url":"https://api.github.com/users/bachya/following{/other_user}","gists_url":"https://api.github.com/users/bachya/gists{/gist_id}","starred_url":"https://api.github.com/users/bachya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachya/subscriptions","organizations_url":"https://api.github.com/users/bachya/orgs","repos_url":"https://api.github.com/users/bachya/repos","events_url":"https://api.github.com/users/bachya/events{/privacy}","received_events_url":"https://api.github.com/users/bachya/received_events","type":"User","site_admin":false},"labels":[{"id":1010626816,"node_id":"MDU6TGFiZWwxMDEwNjI2ODE2","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/component:%20openuv","name":"component: openuv","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"bachya","id":47216,"node_id":"MDQ6VXNlcjQ3MjE2","avatar_url":"https://avatars3.githubusercontent.com/u/47216?v=4","gravatar_id":"","url":"https://api.github.com/users/bachya","html_url":"https://github.com/bachya","followers_url":"https://api.github.com/users/bachya/followers","following_url":"https://api.github.com/users/bachya/following{/other_user}","gists_url":"https://api.github.com/users/bachya/gists{/gist_id}","starred_url":"https://api.github.com/users/bachya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachya/subscriptions","organizations_url":"https://api.github.com/users/bachya/orgs","repos_url":"https://api.github.com/users/bachya/repos","events_url":"https://api.github.com/users/bachya/events{/privacy}","received_events_url":"https://api.github.com/users/bachya/received_events","type":"User","site_admin":false},"assignees":[{"login":"bachya","id":47216,"node_id":"MDQ6VXNlcjQ3MjE2","avatar_url":"https://avatars3.githubusercontent.com/u/47216?v=4","gravatar_id":"","url":"https://api.github.com/users/bachya","html_url":"https://github.com/bachya","followers_url":"https://api.github.com/users/bachya/followers","following_url":"https://api.github.com/users/bachya/following{/other_user}","gists_url":"https://api.github.com/users/bachya/gists{/gist_id}","starred_url":"https://api.github.com/users/bachya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachya/subscriptions","organizations_url":"https://api.github.com/users/bachya/orgs","repos_url":"https://api.github.com/users/bachya/repos","events_url":"https://api.github.com/users/bachya/events{/privacy}","received_events_url":"https://api.github.com/users/bachya/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-26T20:12:26Z","updated_at":"2018-10-26T20:13:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n0.81.0\r\n\r\n**Last working Home Assistant release (if known):**\r\n\r\n0.80.3\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\nDocker\r\n\r\n**Component/platform:**\r\n<!--\r\nPlease add the link to the documentation at https://www.home-assistant.io/components/ of the component/platform in question.\r\n-->\r\n`openuv`\r\n\r\n**Description of problem:**\r\n\r\nStarting in 0.81, OpenUV throws 500 errors. The config entry must be deleted and recreated to stop them.\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\nopenuv:\r\n  api_key: !secret openuv_api_key\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n2018-10-26 14:04:32 ERROR (MainThread) [homeassistant.components.openuv] No valid protection window data for this location\r\n2018-10-26 14:04:32 ERROR (MainThread) [homeassistant.components.openuv] Config entry failed: Error requesting data from uv: 500, message='Internal Server Error'\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/433529816","html_url":"https://github.com/home-assistant/home-assistant/issues/17830#issuecomment-433529816","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17830","id":433529816,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzUyOTgxNg==","user":{"login":"bachya","id":47216,"node_id":"MDQ6VXNlcjQ3MjE2","avatar_url":"https://avatars3.githubusercontent.com/u/47216?v=4","gravatar_id":"","url":"https://api.github.com/users/bachya","html_url":"https://github.com/bachya","followers_url":"https://api.github.com/users/bachya/followers","following_url":"https://api.github.com/users/bachya/following{/other_user}","gists_url":"https://api.github.com/users/bachya/gists{/gist_id}","starred_url":"https://api.github.com/users/bachya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachya/subscriptions","organizations_url":"https://api.github.com/users/bachya/orgs","repos_url":"https://api.github.com/users/bachya/repos","events_url":"https://api.github.com/users/bachya/events{/privacy}","received_events_url":"https://api.github.com/users/bachya/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T20:13:16Z","updated_at":"2018-10-26T20:13:16Z","author_association":"CONTRIBUTOR","body":"After analysis, this appears to occur only with instances where OpenUV was previously configured in `configuration.yaml`: when the config entry is created (via import), the latitude/longitude/elevation are `None`, which causes the API calls to fail."}}
{"actor":{"display_login":"bachya"}}