Update esphome/components/apds9306/sensor.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Aodren Auffrédou-Heinicke 2024-05-14 15:08:38 -07:00 committed by GitHub
parent fce24fa0a8
commit 0fc7081527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -25,12 +25,12 @@ MEASUREMENT_BIT_WIDTHS = {
}
MEASUREMENT_RATES = {
"25ms": 0,
"50ms": 1,
"100ms": 2,
"200ms": 3,
"500ms": 4,
"1000ms": 5,
25: 0,
50: 1,
100: 2,
200: 3,
500: 4,
1000: 5,
}
AMBIENT_LIGHT_GAINS = {