Skip to content

Commit ad8514c

Browse files
authored
TSL2561 Bugfix (#402)
1 parent 8e8a69f commit ad8514c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mqtt_io/modules/sensor/tsl2561.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": 'integer',
1313
"required": False,
1414
"empty": False,
15-
"default": '0x48'},
15+
"default": '0x49'},
1616
"integration_time": {
1717
"required": False,
1818
"empty": False,
@@ -30,7 +30,7 @@
3030

3131
class Sensor(GenericSensor):
3232
"""
33-
Implementation of Sensor class for the Adafruit_ADS1x15.
33+
Implementation of Sensor class for the Adafruit_TSL2561
3434
"""
3535

3636
SENSOR_SCHEMA: CerberusSchemaType = {
@@ -53,7 +53,7 @@ def setup_module(self) -> None:
5353
self.i2c = busio.I2C(board.SCL, board.SDA)
5454

5555
# Convert sensor address from hex to dec
56-
self.address = int(0x48)
56+
self.address = int(0x49)
5757
if 'chip_addr' in self.config:
5858
self.address = int(self.config['chip_addr'])
5959

0 commit comments

Comments
 (0)