add action registration code for device component