-
Notifications
You must be signed in to change notification settings - Fork 2
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
Discover action types and pass Sensor through action call #109
Conversation
…ions to have sigan and gps properties. Expose action_types in discover.
…ally take calibrations and add calibration properties.
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.
I made a few commits and left some comments below, mostly for minor cleanup stuff following this major refactor. Looks good but please respond to comments before merging.
no longer requires `sensor` parameter
…actions into discover_action_types
…ensor). Remove registration signals to prevent plugins from registering things.
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 good- see minor comments included below. I'm about to test on seadog01 in the meantime.
…ocstrings and test cases. Modify has_configurable_preselector to return True if the sensor definition includes a preselector with multiple rf_paths or if the preselector has multiple rf_paths.
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 good!
This (in conjunction with the associated scos-sensor PR) fixes an architectural issue in scos sensor and enables loading of actions from a scos sensor config directory. The main changes within this PR are:
While the behavior is not enforced within the code in this repo, the readme has also been updated to reflect that the discover module used by scos-sensor plugins should expose an actions and/or action_types dictionary. Finally, because of these changes, this increments the version of scos-actions to 8.0.0.