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

Frontier silicon async #12503

Merged
merged 12 commits into from
Feb 20, 2018
Merged

Frontier silicon async #12503

merged 12 commits into from
Feb 20, 2018

Conversation

zhelev
Copy link
Contributor

@zhelev zhelev commented Feb 18, 2018

Description:

Related issue (if applicable): fixes #
fixes #11853

Checklist:

  • [ x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [x ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • [ x] New dependencies have been added to the REQUIREMENTS variable (example).
  • [x ] New dependencies are only imported inside functions that use them (example).
  • [ x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • [x ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

Copy link
Member

@pvizeli pvizeli 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

self._mute = fs_device.mute
self._media_image_url = fs_device.play_info_graphics
end = time.time()
_LOGGER.debug('Frontier Silicon device update took: %s', (end-start))
Copy link
Member

Choose a reason for hiding this comment

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

Remove this debug time handling stuff

@@ -6,6 +6,9 @@
"""
import logging

import asyncio
import time

Choose a reason for hiding this comment

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

'time' imported but unused

@zhelev
Copy link
Contributor Author

zhelev commented Feb 20, 2018

Removed debug. Build fails for Python 3.6 - I does not look like it is because of the frontier_silicon component.

@pvizeli pvizeli merged commit 1d8a514 into home-assistant:dev Feb 20, 2018
@balloob balloob mentioned this pull request Feb 22, 2018
@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants