Added function for retrieving all sensors, and a function for finding a sensor by name and device type in a list of sensors