def _add_sensor(self, sensorid):
    'Add sensor node. Return sensor node instance.'
    self.gateway.sensors[sensorid] = Sensor(sensorid)
    return self.gateway.sensors[sensorid]
Add sensor node. Return sensor node instance.
def _add_sensor(self, sensorid):
    
    self.gateway.sensors[sensorid] = Sensor(sensorid)
    return self.gateway.sensors[sensorid]