Device plugin not working