Skip to content

Fix niko home control dependency installation#23176

Merged
MartinHjelmare merged 3 commits intohome-assistant:devfrom
NoUseFreak:fix-niko-home-control
Apr 18, 2019
Merged

Fix niko home control dependency installation#23176
MartinHjelmare merged 3 commits intohome-assistant:devfrom
NoUseFreak:fix-niko-home-control

Conversation

@NoUseFreak
Copy link
Copy Markdown
Contributor

@NoUseFreak NoUseFreak commented Apr 17, 2019

Breaking Change:

None

Description:

By upgrading the package, it now installs it's dependencies.

Related issue (if applicable): fixes #

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

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

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

  • The manifest file has all fields filled out correctly (example).
  • New dependencies have been added to requirements in the manifest (example).
  • New dependencies are only imported inside functions that use them (example).
  • New or updated 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:

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

@NoUseFreak NoUseFreak force-pushed the fix-niko-home-control branch from 4443d92 to aff73ef Compare April 17, 2019 21:22
@NoUseFreak NoUseFreak mentioned this pull request Apr 17, 2019
10 tasks
@awarecan awarecan added this to the 0.92.0 milestone Apr 17, 2019
Copy link
Copy Markdown
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! Can be merged when comment is addressed and build passes.

for state in self.data:
if state['id'] == aid:
return state['value1'] != 0
_LOGGER.error("Failed to retrieve state off unknown light.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't end logging messages with period.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2019

Codecov Report

Merging #23176 into dev will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             dev   #23176      +/-   ##
=========================================
- Coverage   94.2%   94.19%   -0.01%     
=========================================
  Files        453      453              
  Lines      36915    36915              
=========================================
- Hits       34776    34773       -3     
- Misses      2139     2142       +3
Impacted Files Coverage Δ
...ssistant/components/islamic_prayer_times/sensor.py 94.68% <0%> (-3.2%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6349a6...2e52088. Read the comment docs.

3 similar comments
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2019

Codecov Report

Merging #23176 into dev will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             dev   #23176      +/-   ##
=========================================
- Coverage   94.2%   94.19%   -0.01%     
=========================================
  Files        453      453              
  Lines      36915    36915              
=========================================
- Hits       34776    34773       -3     
- Misses      2139     2142       +3
Impacted Files Coverage Δ
...ssistant/components/islamic_prayer_times/sensor.py 94.68% <0%> (-3.2%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6349a6...2e52088. Read the comment docs.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2019

Codecov Report

Merging #23176 into dev will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             dev   #23176      +/-   ##
=========================================
- Coverage   94.2%   94.19%   -0.01%     
=========================================
  Files        453      453              
  Lines      36915    36915              
=========================================
- Hits       34776    34773       -3     
- Misses      2139     2142       +3
Impacted Files Coverage Δ
...ssistant/components/islamic_prayer_times/sensor.py 94.68% <0%> (-3.2%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6349a6...2e52088. Read the comment docs.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2019

Codecov Report

Merging #23176 into dev will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             dev   #23176      +/-   ##
=========================================
- Coverage   94.2%   94.19%   -0.01%     
=========================================
  Files        453      453              
  Lines      36915    36915              
=========================================
- Hits       34776    34773       -3     
- Misses      2139     2142       +3
Impacted Files Coverage Δ
...ssistant/components/islamic_prayer_times/sensor.py 94.68% <0%> (-3.2%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6349a6...2e52088. Read the comment docs.

@MartinHjelmare MartinHjelmare merged commit 6e4083d into home-assistant:dev Apr 18, 2019
balloob pushed a commit that referenced this pull request Apr 20, 2019
* Upgrade niko-home-control library

* Fix additional feedback

* Lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants