-
-
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
[philips-hue] Answer message when no lights found in a room #965
Conversation
Codecov Report
@@ Coverage Diff @@
## master #965 +/- ##
=======================================
Coverage 94.39% 94.40%
=======================================
Files 481 481
Lines 6355 6362 +7
=======================================
+ Hits 5999 6006 +7
Misses 356 356
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi !
Thanks for your PR, it's great and tests are great :)
I added 2 little feedbacks on it.
- Do not check number of devices but number of devices with binary features
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your changes!
There is still a little side-effect of your implementation, see my comments.
Except that everything is perfect :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code approved, but not tested locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, good for me !
…s been found (GladysAssistant#965) * fix: Answer message when no lights found in a room Closes GladysAssistant#959 * fix: Take in account PR feedbacks - Do not check number of devices but number of devices with binary features * fix(philips-hue): Use case where exception is thrown and no lights Co-authored-by: Pierre-Gilles Leymarie <pierregilles.leymarie@gmail.com>
Closes #959
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)npm run compare-translations
on front) => Not applicablefront/src/config/demo.json
) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com. => Not applicableNOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
Description of change
Fix issue #959 when asking to turn on/off lights in a room with no lights