get_device_by_name added to pricing api

Required by pricing: allegro/ralph_pricing#89