Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mqtt_io/modules/sensor/tsl2561.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": 'integer',
"required": False,
"empty": False,
"default": '0x48'},
"default": '0x49'},
"integration_time": {
"required": False,
"empty": False,
Expand All @@ -30,7 +30,7 @@

class Sensor(GenericSensor):
"""
Implementation of Sensor class for the Adafruit_ADS1x15.
Implementation of Sensor class for the Adafruit_TSL2561
"""

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

# Convert sensor address from hex to dec
self.address = int(0x48)
self.address = int(0x49)
if 'chip_addr' in self.config:
self.address = int(self.config['chip_addr'])

Expand Down
Loading