save last value for each sensor/actuator each time