Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Add support for services #35

Merged
merged 6 commits into from
Jan 21, 2020
Merged

Add support for services #35

merged 6 commits into from
Jan 21, 2020

Conversation

marcelveldt
Copy link
Contributor

Add (basic) support for services, to be extended later on.

I've decided to move the services stuff into a separate file/class for code hygiene/readability reasons, in the old implementation this was all packed into the config_flow method which is horror to read/follow.

Add (basic) support for services, to be extended later on.
satisfy the pep linter
apply to hass coding standards
undo the file permissions
@marcelveldt
Copy link
Contributor Author

All fixed. No idea where the linter in Travis is angry about. Both flake8 and pylinter are happy on my setup with default PEP8 style conventions enabled.

@balloob
Copy link
Collaborator

balloob commented Jan 20, 2020

Both isort and black are not satisfied: https://travis-ci.com/cgarwood/homeassistant-zwave_mqtt/builds/145290764

Locally run pip install pre-commit and then pre-commit install and it will fix it for you when making commits 👍

For now manually run isort and black on the files and commit changes.

Copy link
Collaborator

@balloob balloob left a comment

Choose a reason for hiding this comment

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

Ok to merge when travis passes.

@balloob
Copy link
Collaborator

balloob commented Jan 20, 2020

btw for Travis, you can click on "Details" and then click on "The Build"

@balloob
Copy link
Collaborator

balloob commented Jan 21, 2020

Are you on Discord? Let's connect there.

@cgarwood cgarwood merged commit 8fa245d into cgarwood:master Jan 21, 2020
@marcelveldt marcelveldt deleted the services branch January 21, 2020 11:43
@cgarwood cgarwood mentioned this pull request Jan 21, 2020
15 tasks
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.

None yet

3 participants