Reference → DallasTemperature → getDeviceCount() Returns the total number of devices connected to the bus. sensors.getDeviceCount() sensors: a variable of type DallasTemperature. uint8_t - total number of devices connected