diff --git a/tasmota/tasmota_xsns_sensor/xsns_16_tsl2561.ino b/tasmota/tasmota_xsns_sensor/xsns_16_tsl2561.ino index 151d73938..e0a2617be 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_16_tsl2561.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_16_tsl2561.ino @@ -75,7 +75,8 @@ void Tsl2561Detect(void) if (!Tsl.id(id)) return; // check the correct ID was returned // datasheet says reg 0xA (ID) returns 0x1r (r = nibble revision) - if ((id & 0xF0) != 0x10) return; + // current version returns 0x5r + if ((id & 0xF0) != 0x10 && (id & 0xF0) != 0x50) return; if (Tsl.on()) { tsl2561_type = 1; I2cSetActiveFound(Tsl.address(), tsl2561_types);