-
Notifications
You must be signed in to change notification settings - Fork 21
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
Create script to generate notification enums and check if git is dirty #773
Create script to generate notification enums and check if git is dirty #773
Conversation
may rework this to generate it like we do for multilevel sensor constants |
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.
looks fine by me.
if we expect this to be ever going to change/extend, we might want to add a fallback handler to unknown ?
example: https://github.com/home-assistant-libs/aiohue/blob/master/aiohue/v2/models/feature.py#L97
this needs to be merged before we finalize the notification CC constants in this PR: zwave-js/node-zwave-js#6368 |
This is to prep for zwave-js/certification-backlog#9
EDIT: I've also added a dirty repo check at the bottom of each script. The thought is that we can set up a workflow to run those once a day via tox. That will allow us to catch if/when the constants change