Device is for specific use cases and should be avoided. They definitely cause problems in node red as well.