

class Captor():
  id = 4
  def Captor():
    self.id = 4
    
    
  def callback(self):
    temperature = 0
    #lance la communication avec le capteur
    
    return temperature
    
  def getiId(self):
    return self.id

create template for temperatureCaptor.py