We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51410bc commit 485af33Copy full SHA for 485af33
adafruit_veml7700.py
@@ -207,7 +207,7 @@ def integration_time_value(self) -> int:
207
integration_time = self.light_integration_time
208
return self.integration_time_values[integration_time]
209
210
- def gain_value(self) -> int:
+ def gain_value(self) -> float:
211
"""Gain value in integer form. Used for calculating :meth:`resolution`."""
212
gain = self.light_gain
213
return self.gain_values[gain]
0 commit comments