Further refactored and refined eaton with sensoract to broaden for other devices