device lifecycle automation