{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments/172670614","pull_request_review_id":101728682,"id":172670614,"diff_hunk":"@@ -28,6 +28,15 @@ Some things to keep in mind:\n - Use the constants defined in `const.py`\n - Import `PLATFORM_SCHEMA` from the parent component and extend it\n - Preferred order is `required` first and `optional` second\n+- Starting with Home Assistant version 0.64.0 voluptuous now requires default values for config keys to be valid values. For instance:\n+```\n+vol.Required(CONF_SWITCH, default=None): cv.string,","path":"source/developers/development_validation.markdown","position":6,"original_position":6,"commit_id":"37430d92247109eda56b6b019e3f8496effb0cb5","original_commit_id":"37430d92247109eda56b6b019e3f8496effb0cb5","user":{"login":"fabaff","id":116184,"avatar_url":"https://avatars0.githubusercontent.com/u/116184?v=4","gravatar_id":"","url":"https://api.github.com/users/fabaff","html_url":"https://github.com/fabaff","followers_url":"https://api.github.com/users/fabaff/followers","following_url":"https://api.github.com/users/fabaff/following{/other_user}","gists_url":"https://api.github.com/users/fabaff/gists{/gist_id}","starred_url":"https://api.github.com/users/fabaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabaff/subscriptions","organizations_url":"https://api.github.com/users/fabaff/orgs","repos_url":"https://api.github.com/users/fabaff/repos","events_url":"https://api.github.com/users/fabaff/events{/privacy}","received_events_url":"https://api.github.com/users/fabaff/received_events","type":"User","site_admin":false},"body":"If a value is required then there shouldn't be a default. We want to fail if the value is missing.","created_at":"2018-03-06T21:44:46Z","updated_at":"2018-03-06T21:44:55Z","html_url":"https://github.com/home-assistant/home-assistant.github.io/pull/4773#discussion_r172670614","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments/172670614"},"html":{"href":"https://github.com/home-assistant/home-assistant.github.io/pull/4773#discussion_r172670614"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773","id":171548327,"html_url":"https://github.com/home-assistant/home-assistant.github.io/pull/4773","diff_url":"https://github.com/home-assistant/home-assistant.github.io/pull/4773.diff","patch_url":"https://github.com/home-assistant/home-assistant.github.io/pull/4773.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/4773","number":4773,"state":"open","locked":false,"title":"HA version 0.64.0 voluptuous config check.","user":{"login":"JerryWorkman","id":1776448,"avatar_url":"https://avatars0.githubusercontent.com/u/1776448?v=4","gravatar_id":"","url":"https://api.github.com/users/JerryWorkman","html_url":"https://github.com/JerryWorkman","followers_url":"https://api.github.com/users/JerryWorkman/followers","following_url":"https://api.github.com/users/JerryWorkman/following{/other_user}","gists_url":"https://api.github.com/users/JerryWorkman/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryWorkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryWorkman/subscriptions","organizations_url":"https://api.github.com/users/JerryWorkman/orgs","repos_url":"https://api.github.com/users/JerryWorkman/repos","events_url":"https://api.github.com/users/JerryWorkman/events{/privacy}","received_events_url":"https://api.github.com/users/JerryWorkman/received_events","type":"User","site_admin":false},"body":"**Description:**\r\n\r\n\r\n**Pull request in [home-assistant](https://github.com/home-assistant/home-assistant) (if applicable):** home-assistant/home-assistant#<home-assistant PR number goes here>\r\n\r\n## Checklist:\r\n\r\n- [ ] Branch: Fixes, changes and adjustments should be created against `current`. New documentation for platforms/components and features should go to `next`.\r\n- [ ] The documentation follow the [standards][standards].\r\n\r\n[standards]: https://home-assistant.io/developers/documentation/standards/\r\n","created_at":"2018-02-27T02:35:36Z","updated_at":"2018-03-06T21:44:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27bc6a4f210098c8b0fc53e05075b15a2697487f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/4773/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/37430d92247109eda56b6b019e3f8496effb0cb5","head":{"label":"JerryWorkman:patch-10","ref":"patch-10","sha":"37430d92247109eda56b6b019e3f8496effb0cb5","user":{"login":"JerryWorkman","id":1776448,"avatar_url":"https://avatars0.githubusercontent.com/u/1776448?v=4","gravatar_id":"","url":"https://api.github.com/users/JerryWorkman","html_url":"https://github.com/JerryWorkman","followers_url":"https://api.github.com/users/JerryWorkman/followers","following_url":"https://api.github.com/users/JerryWorkman/following{/other_user}","gists_url":"https://api.github.com/users/JerryWorkman/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryWorkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryWorkman/subscriptions","organizations_url":"https://api.github.com/users/JerryWorkman/orgs","repos_url":"https://api.github.com/users/JerryWorkman/repos","events_url":"https://api.github.com/users/JerryWorkman/events{/privacy}","received_events_url":"https://api.github.com/users/JerryWorkman/received_events","type":"User","site_admin":false},"repo":{"id":71083881,"name":"home-assistant.github.io","full_name":"JerryWorkman/home-assistant.github.io","owner":{"login":"JerryWorkman","id":1776448,"avatar_url":"https://avatars0.githubusercontent.com/u/1776448?v=4","gravatar_id":"","url":"https://api.github.com/users/JerryWorkman","html_url":"https://github.com/JerryWorkman","followers_url":"https://api.github.com/users/JerryWorkman/followers","following_url":"https://api.github.com/users/JerryWorkman/following{/other_user}","gists_url":"https://api.github.com/users/JerryWorkman/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryWorkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryWorkman/subscriptions","organizations_url":"https://api.github.com/users/JerryWorkman/orgs","repos_url":"https://api.github.com/users/JerryWorkman/repos","events_url":"https://api.github.com/users/JerryWorkman/events{/privacy}","received_events_url":"https://api.github.com/users/JerryWorkman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JerryWorkman/home-assistant.github.io","description":":blue_book: Jekyll project to generate home-assistant.io","fork":true,"url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io","forks_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/forks","keys_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/teams","hooks_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/hooks","issue_events_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/events","assignees_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/tags","blobs_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/languages","stargazers_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/stargazers","contributors_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/contributors","subscribers_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/subscribers","subscription_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/subscription","commits_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/merges","archive_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/downloads","issues_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/labels{/name}","releases_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/JerryWorkman/home-assistant.github.io/deployments","created_at":"2016-10-16T23:35:07Z","updated_at":"2016-10-16T23:35:13Z","pushed_at":"2018-03-06T20:52:53Z","git_url":"git://github.com/JerryWorkman/home-assistant.github.io.git","ssh_url":"git@github.com:JerryWorkman/home-assistant.github.io.git","clone_url":"https://github.com/JerryWorkman/home-assistant.github.io.git","svn_url":"https://github.com/JerryWorkman/home-assistant.github.io","homepage":"https://home-assistant.io","size":177852,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"next"}},"base":{"label":"home-assistant:current","ref":"current","sha":"284b67a47f1d185caeee56b08bf12938601c3b17","user":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":28312955,"name":"home-assistant.github.io","full_name":"home-assistant/home-assistant.github.io","owner":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant.github.io","description":":blue_book: Home Assistant User documentation","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io","forks_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/deployments","created_at":"2014-12-21T20:59:21Z","updated_at":"2018-03-06T08:20:48Z","pushed_at":"2018-03-06T21:37:16Z","git_url":"git://github.com/home-assistant/home-assistant.github.io.git","ssh_url":"git@github.com:home-assistant/home-assistant.github.io.git","clone_url":"https://github.com/home-assistant/home-assistant.github.io.git","svn_url":"https://github.com/home-assistant/home-assistant.github.io","homepage":"https://home-assistant.io","size":268491,"stargazers_count":320,"watchers_count":320,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1812,"mirror_url":null,"archived":false,"open_issues_count":86,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1812,"open_issues":86,"watchers":320,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773"},"html":{"href":"https://github.com/home-assistant/home-assistant.github.io/pull/4773"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/4773"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/4773/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/4773/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/37430d92247109eda56b6b019e3f8496effb0cb5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fabaff"}}