-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
Xiaomi Service #537
Merged
Merged
Xiaomi Service #537
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #537 +/- ##
=========================================
Coverage ? 91.71%
=========================================
Files ? 374
Lines ? 4444
Branches ? 0
=========================================
Hits ? 4076
Misses ? 368
Partials ? 0
Continue to review full report at Codecov.
|
R6n0
pushed a commit
to R6n0/Gladys
that referenced
this pull request
Dec 2, 2020
* First commit * Centralize deviceStatus in constant file * Add cube sensor * Handle Xiaomi switch * Handle Xiaomi leak sensor * Improve server with new websockets event * Remove unique index when it's not needed * Add more advanced search in device.get query * Specify add_feedback attribute in Xiaomi sensors * First version of frontend * Add function to convert HSL colors to RGB * Add util function to get device param / set device param * Handle gateway + setValue gateway to control colors * Add smoke & vibration sensor * Handle xiaomi plugs * Handle single wired switch * Handle duplex wired switch * Handle single wired switch neutral * Handle duplex wired switch neutral * Handle duplex wireless switch * Handle single wireless switch * Handle illumination in gateway * Control duplex switch, first poc * Front: add more consts for devices * Add Xiaomi edit page * Better error handling + added tests * Add more tests * Add tests to unit converter * Remove battery attribute from plug device * Add more tests to xiaomi service * Improve coverage * Add link to documentation in Xiaomi page * Add coverage folder to gitignore * Improve coverage on controller + type of devices * Add data in demo mode for Xiaomi * Switch VERSION to alpha-2 for Docker build version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
npm test
on both front/server)npm run eslint
on both front/server)npm run prettier
on both front/server)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!