Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Split bootstrap into validation, requirements and setup #2912

Closed
wants to merge 1 commit into from

Conversation

kellerza
Copy link
Member

Description:

WIP to split bootstrap into specific functions (documented in comments in the code line 291 onward)

_LOGGER.error(
'Not initializing %s because not all dependencies loaded: %s',
domain, ", ".join(missing_deps))
return False
Copy link
Member

@balloob balloob Aug 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please return None instead of False.

@balloob
Copy link
Member

balloob commented Sep 1, 2016

Any update on this one ?

@balloob
Copy link
Member

balloob commented Sep 1, 2016

I've extracted the component config validation in #3002.

@kellerza
Copy link
Member Author

kellerza commented Sep 1, 2016

Hi, been working on this but not finished yet.

Validated config cannot always return lists, since it breaks things like groups. Was wondering if I should remove the list if it contains only a single item.

@kellerza kellerza closed this Sep 7, 2016
@kellerza kellerza deleted the bootstrap2 branch October 28, 2016 21:58
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants