-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add Calibration at a per-scanner level #275
Conversation
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.
This is awesome!
@@ -122,6 +125,10 @@ | |||
CONF_REF_POWER, DEFAULT_REF_POWER = "ref_power", -55.0 | |||
DOCS[CONF_REF_POWER] = "Default RSSI for signal at 1 metre." | |||
|
|||
CONF_SAVE_AND_CLOSE = "save_and_close" | |||
CONF_SCANNER_INFO = "scanner_info" | |||
CONF_RSSI_OFFSET = "rssi_offset" |
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 think I'd like to rename this offsets (ie, plural) so it's clear that this points to a dict of offsets for each scanner, rather than a single value (assuming I'm reading this right)
SelectSelector, | ||
SelectSelectorConfig, | ||
SelectSelectorMode, | ||
) |
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.
This is great.
@@ -144,6 +163,8 @@ async def async_step_init(self, user_input=None): # pylint: disable=unused-argu | |||
menu_options={ | |||
"globalopts": "Global Options", | |||
"selectdevices": "Select Devices", | |||
"calibration1_global": "Calibration 1: Global", | |||
"calibration2_scanner": "Calibration 2: Scanner", |
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'd go plural scanners for both label and value here, too.
Per our discussions - here's part 1 and 2 of our discussion. It still needs a bit more work - so I wouldn't merge it yet, but it is ready for some review
Related to:#45
Todo: