while I will be happy to add a pull request about this soon, I just wanted to outline a small improvement I would like to make.
I propose to completely remove a piece of code which could lead to potential confusion by falling back to the first entry in the list of addressable devices in both start_conversion and read_temp_async.
if (rom==None) and (len(self.roms)>0):
rom=self.roms[0]
if rom!=None:
Hi again,
while I will be happy to add a pull request about this soon, I just wanted to outline a small improvement I would like to make.
I propose to completely remove a piece of code which could lead to potential confusion by falling back to the first entry in the list of addressable devices in both
start_conversion
andread_temp_async
.With kind regards, Andreas.