diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d34eddb6..c83671018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ All notable changes to this project will be documented in this file. ### Changed - Prepare I2C drivers for bus2 support -- Matter Light0 now accept a Relay number +- Matter Light0 now accept a Relay number (#19809) ### Fixed - NeoPool filtration mode display (#19801) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b0b1fe8b0..598c91374 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -123,6 +123,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ### Breaking Changed ### Changed +- Matter Light0 now accept a Relay number [#19809](https://github.com/arendst/Tasmota/issues/19809) ### Fixed - NeoPool filtration mode display [#19801](https://github.com/arendst/Tasmota/issues/19801) diff --git a/tasmota/tasmota_xsns_sensor/xsns_12_ads1115.ino b/tasmota/tasmota_xsns_sensor/xsns_12_ads1115.ino index a4a892ae5..11dbda0f9 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_12_ads1115.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_12_ads1115.ino @@ -183,7 +183,7 @@ void Ads1115Detect(void) { I2cValidRead16(&buffer, ads1115_addresses[i], ADS1115_REG_POINTER_CONFIG, bus)) { Ads1115[ads1115_count].address = ads1115_addresses[i]; Ads1115[ads1115_count].bus = bus; - Ads1115StartComparator(ads1115_count, i, ADS1115_REG_CONFIG_MODE_CONTIN); + Ads1115StartComparator(ads1115_count, 0, ADS1115_REG_CONFIG_MODE_CONTIN); I2cSetActiveFound(Ads1115[ads1115_count].address, "ADS1115", Ads1115[ads1115_count].bus); ads1115_count++; if (4 == ads1115_count) { return; }