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

@Link39 Z-Wave PR with fixes and tests #893

Merged
merged 14 commits into from
Oct 16, 2020
Merged

@Link39 Z-Wave PR with fixes and tests #893

merged 14 commits into from
Oct 16, 2020

Conversation

Pierre-Gilles
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles commented Oct 16, 2020

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

  • If your changes affects code, did your write the tests?
  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)
  • If you are adding a new features/services, did you run integration comparator? (npm run compare-translations on front)
  • If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
  • If you are adding a new features/services which needs explanation, did you modify the user documentation? See the GitHub repo and the website.
  • Did you add fake requests data for the demo mode (front/src/config/demo.json) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

@codecov
Copy link

codecov bot commented Oct 16, 2020

Codecov Report

Merging #893 into master will increase coverage by 0.04%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #893      +/-   ##
==========================================
+ Coverage   93.53%   93.58%   +0.04%     
==========================================
  Files         461      461              
  Lines        6112     6123      +11     
==========================================
+ Hits         5717     5730      +13     
+ Misses        395      393       -2     
Impacted Files Coverage Δ
server/services/zwave/lib/constants.js 100.00% <ø> (ø)
server/services/zwave/lib/utils/getCategory.js 100.00% <ø> (ø)
server/utils/constants.js 100.00% <ø> (ø)
...er/services/zwave/lib/events/zwave.valueRemoved.js 80.00% <66.66%> (-20.00%) ⬇️
...rver/services/zwave/lib/commands/zwave.getNodes.js 96.42% <100.00%> (+0.42%) ⬆️
...rver/services/zwave/lib/events/zwave.valueAdded.js 100.00% <100.00%> (ø)
...er/services/zwave/lib/events/zwave.valueChanged.js 100.00% <100.00%> (ø)
server/services/zwave/lib/utils/getUnit.js 100.00% <100.00%> (+37.50%) ⬆️

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 4a673c3...c4df9fd. Read the comment docs.

@Pierre-Gilles Pierre-Gilles merged commit 337b655 into master Oct 16, 2020
@Pierre-Gilles Pierre-Gilles deleted the link39-zwave branch October 16, 2020 12:00
R6n0 pushed a commit to R6n0/Gladys that referenced this pull request Dec 2, 2020
…g, modify device view (GladysAssistant#893)

* Add zwave mapping : Volt/Watt/Ampere/Kwh

* Zwave : New devices and multilevel scroll

* Fix Roller shutter ZMNHCDx category and Id

* fix ZMNHCDx type and category

* add Lux units

* Display all node in Setup page

* Sort nodes in setup page

* Run prettier

* Fix bug in zwave Device page when house list is not fully loaded

* Add missing translations

* Add more tests to z-wave

* Add test to zwave.getUnit

Co-authored-by: Thibaut Courvoisier <link39@live.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant