added last_reading_at for device