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

[fix] Detail on naming - Notifications Names #98

Merged
merged 3 commits into from
Dec 21, 2020

Conversation

varet80
Copy link
Collaborator

@varet80 varet80 commented Dec 20, 2020

Multiple times happens on notification names during discovery to have a name like:

sensor_notification_Power Management_Power Management

It would be better if these names where:

sensor_notification_Power Management_Motion

This tries to avoid using the "duplicate" name by setting on Notifications the propertyKey

Also this happens with betteries, and other endpoints. when duplication happens. It is good idea to use endpoint number as extension instead of "repeating" the same property name.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 434514269

  • 0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 28.492%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/Gateway.js 0 7 0.0%
Totals Coverage Status
Change from base Build 430886337: -0.03%
Covered Lines: 1930
Relevant Lines: 6918

💛 - Coveralls

Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @billiaz 🎉

@robertsLando robertsLando merged commit a0365a9 into master Dec 21, 2020
@robertsLando robertsLando deleted the fix#supportBetterNotificationNames branch December 21, 2020 08:32
ahochsteger pushed a commit that referenced this pull request Dec 27, 2020
BREAKING CHANGE: entities names could change
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.

3 participants