Update device.nut

I think the agent passes data as string??