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

Small huawei_lte improvements #16626

Merged
merged 4 commits into from
Sep 15, 2018
Merged

Small huawei_lte improvements #16626

merged 4 commits into from
Sep 15, 2018

Conversation

scop
Copy link
Member

@scop scop commented Sep 15, 2018

Description:

Some small improvements to huawei_lte.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

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

Looks good!

def routerdata():
"""Set up a router data for testing."""
rd = huawei_lte.RouterData(None)
rd.device_information = dict(
Copy link
Member

Choose a reason for hiding this comment

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

We prefer to use {key: value} to define a dictionary.

@scop scop merged commit e054e4d into home-assistant:dev Sep 15, 2018
@ghost ghost removed the in progress label Sep 15, 2018
@scop scop deleted the huawei-lte-tweaks branch September 15, 2018 07:42
@balloob balloob mentioned this pull request Sep 28, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants