""" Mapping of light levels to lux measurement values for SwitchBot Hub 2. Source: After-sales consultation, line chart data provided by switchbot developers """ LIGHT_INTENSITY_MAP = { 1: 0, 2: 10, 3: 20, 4: 30, 5: 40, 6: 50, 7: 60, 8: 70, 9: 80, 10: 90, 11: 105, 12: 205, 13: 317, 14: 416, 15: 510, 16: 610, 17: 707, 18: 801, 19: 897, 20: 1023, 21: 1091, }