Getting a device from the file store system only works with ID
Description
Devices can only be searched by ID instead of ID or device name. Probably similar behaviour for other entities, so it should be added there too.
Expected Behavior
Device can be found by either providing a correct ID or name.
Actual Behavior
Currently only works with ID.
Possible Fix
Add an OR to the if-clause with the comparison of provided name where IDs get compared.